BcActionCard
Description
The BcActionCard component is an enhanced card that includes title, subtitle, icons, and action elements, making it suitable for interactive UI elements.
Parameters
OnClick
EventCallback < MouseEventArgs >
Defines an event callback that is triggered when the action card is clicked.
Title
string?
Specifies the main title text displayed in the action card.
SubTitle
string?
Specifies the subtitle text displayed below the title in the action card.
ActionIcon
RenderFragment?
Defines an optional action icon displayed on the right side of the action card.
TitleIcon
RenderFragment?
Defines an optional icon displayed next to the title in the action card.
CardType
BcCardType
Specifies the type of the card, affecting its styling.
StatusColor
BcStatusColor
Determines the status color of the action card, which affects its visual appearance.
Sample
This is a Action Card
Clicking the Card triggers a Console.WriteLine Action
This is a Action Card with TitleIcon
Clicking the Card triggers a Console.WriteLine Action
This is a Action Card without SubTitle