Cards are used to group related information and actions, providing a consistent container with proper styling and spacing.
Project Update
A quick snapshot from the latest activity.
The latest changes are ready for review. Remaining work is limited to final QA and a short content pass before release.
- Provides a consistent container with proper spacing and borders
- Supports custom styling through className and customRootClass
- Supports compound subcomponents for structured layouts
- Supports visual variant and size tokens
- Works well with other components to create structured layouts
The outer card container. Storybook uses this as the main entry point, with compound subcomponents inside.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
customRootClass | string | -- |
variant | string | '' |
size | string | '' |
Wraps the title, description, and optional actions at the top of the card.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
A semantic heading used for the card title.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
Supporting text displayed under the card title.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
The main body area for card content.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
The footer area for actions and secondary content.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |
An action slot for compact controls placed in the card header region.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | '' |