Card
Group related content and controls.
Usage
Group related content with a subtle boundary. Cards are div elements: add your own heading hierarchy and explicit actions.
Accessibility
Do not make an entire card clickable when it contains other controls. Keep headings in the document outline and use descriptive links.
| Property | Type | Default |
|---|---|---|
| children | ReactNode | None |
| className | string | None |
| style | CSSProperties | None |
| ref | HTMLDivElement | None |
<Card>
<Badge tone="accent">Active</Badge>
<h3>Interaction Inspector</h3>
<p>A clearer view of every interaction.</p>
<span>Updated just now</span>
</Card>