Card
Live example
Card
Installation
npx shadcn@latest add https://hextech-ui.vercel.app/r/card.jsonAPI reference
These are the main Card options. See the exported TypeScript types for inherited native or primitive props.
| Prop | Type | Default |
|---|---|---|
className | string on every part | — |
animated | boolean (reduced-motion aware) | false |
Composition
Combine CardHeader, CardTitle, CardDescription, CardContent and CardFooter as needed. Keep heading levels appropriate to the containing page. Optional animation is off by default and respects reduced motion.