Primitive
CLI registryCard
Elevated surface for grouped content - header, body, footer slots.
Preview → install → use
01
Preview
npx shadcn@latest add @atroui/cardSource lands in your repo. Setup: Installation · Registry catalog.
02
Usage
Use Card when the surface itself is the interaction container. Prefer plain sections for static marketing layout.
03
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| size | 'default' | 'sm' | 'default' | Density. |
| className | string | - | Extra classes (e.g. border-brand/30). |
Card