Components
Card
A surface, not a frame. Header, title, description, optional media and actions separate with rhythm rather than nested borders. No state of its own.
214 received · 96 forwarded to the district office.
- Approved
- 38
- On hold
- 12
4 of 17 cities done. Weekends of the 12th and 19th.
Bring one government-issued ID and the project brief. Walk-ins are accepted after 9am.
Usage
One record, tile or summary with a clear next step.
Do and don't
- Do. Use CardGroup for collections and make the card actionable only when needed.
- Don't. Nest cards or drop a full ledger inside one.
Composition
CardHeader, CardTitle, CardDescription, CardContent, CardFooter, CardAction, CardEyebrow, CardMedia, CardImage and CardButton fill the slots. CardGroup arranges several cards into a grid with shared borders.
Props
Card:href,onClick,external,label,selected,disabled,dismissible,dismissOnHover,onDismiss.CardGroup:orientation,columns,border,separated,fluidHover.size="default" | "compact"on either component pins the density step.
Behavior and states
A standalone card is its own surface, one step above the page with a hairline border. Inside CardGroupit follows the group's border and divider rules instead. A card stays inert until it gets href or onClick. selected and disabled describe the record, not hover. Use one card per record; a collection belongs in CardGroup.
Related
Composes with Badge for status and Table for dense lists. Surface and border values come from Colors.