Layout
Card
Groups related content and actions in a bordered surface with structural, native-link, and dedicated form-selection compositions.
Usage
Anatomy
The parts and how they nest, taken from the preview above.
Examples
Release health
Review production status and the checks required for a release.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use a card for one meaningful resource or task. Keep its title, content, and actions in a clear reading order. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Spacing can group ordinary content without another card. Keep independent actions outside a card-wide link. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | "div" | Root surface for related content. Use render with a native anchor for a navigational card. |
| | — | Header slot for title, description, and an optional action. |
| | — | Primary card heading with system-owned typography. |
| | — | Supporting card copy with secondary content color. |
| | — | Top-end slot for a compact action or status control. |
| | — | Main content slot with system-owned card padding. |
| | — | Alias of CardPanel for content-oriented compositions. |
| | — | Footer slot for actions and supporting metadata. |