Fundamentals
Components
Code Utilities
Demo
BcCard
Description
The BcCard component represents a card UI element in BlazorCraft. It can be used to display content in a structured format with optional styling and click events.
Parameters
ChildContent
RenderFragment?
Defines the child content of the card, which is rendered inside the component.
CardType
BcCardType
Specifies the type of the card. Options include Default, Nested, and Transparent.
StatusColor
BcStatusColor
Determines the status color of the card, which affects its visual styling.
OnClick
EventCallback < MouseEventArgs >
Defines an event callback that is triggered when the card is clicked.
ParentCardGroup
BcCardGroup?
Specifies the parent card group to which this card belongs, if any.
Sample
Card
Card Clickable
Accent Card
Warning Card
Error Card
Success Card