Installation
Usage
Component Code
Examples
- Basic
- With Action
- Interactive
A basic card with header, content, and footer.
Composition
Cards are highly composable and can contain any content. Common patterns include:- Forms with input fields
- Lists of items
- Charts and data visualizations
- Image galleries
- User profiles
API Reference
Card
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardHeader
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardTitle
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardDescription
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardAction
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardContent
| Prop | Type | Default |
|---|---|---|
className | string | - |
CardFooter
| Prop | Type | Default |
|---|---|---|
className | string | - |