Card
The surface that groups a title, a body and its actions into one unit on the page.
import from ~/components/ui/card
Anatomy
Discovery Audit
A focused review of your funnel and tech stack.
Body copy lives in CardContent. It inherits muted text and comfortable leading, and it already sits inside the card padding.
Card + Header / Title / Description / Content / Footer
Every slot is optional, but the order is fixed. Padding lives in the slots, never on the Card.
Variants
Default
Border plus a raised shadow. The standard surface for grouped content.
variant="default"
Border plus a raised shadow. The standard surface for grouped content.
Bordered
Border only, no shadow. Flatter, for dense grids and nested contexts.
variant="bordered"
Border only, no shadow. Flatter, for dense grids and nested contexts.
Ghost
No border, no background. Grouping without a visible container.
variant="ghost"
No border, no background. Grouping without a visible container.
variant="interactive"
Lifts and warms its border on hover. Only when the whole card is a link.
Title sizes
Discovery Audit
The generous step, for a standalone card.
Discovery Audit
The default step, for a card in a grid.
size
Two steps. `lg` for a card that anchors a page, the default for cards that sit in a grid.
In context
4.8%
vs last month
grid
A stat card and a linked case study. Cards carry other components; they do not restyle them.
Rules
Do
Don't
Built on Card: Article Card, a linked article teaser (image, tag, date, title, excerpt). It lives under Patterns, not here, because it composes Card with a Badge and adds an editorial decision a primitive should not carry.