Card
A container that groups related content and actions.
components/ui/card.tsx
Preview
Code
Component
A short summary of what this card shows.
Card body content goes here.
Installation
npx betterone-ds add cardParts
| Part | Use for |
|---|---|
| CardHeader | Title and description block |
| CardTitle | The card heading |
| CardDescription | Short supporting text |
| CardContent | Main body |
| CardFooter | Actions |
Accessibility
- Use a heading level that fits the page outline.
- If the whole card is a link, put the link on one element and keep the text clear.

