Card
Content card with optional media and a whole-card link.
Install this component
Install command hidden until you are signed in with a license.
Live demo
Props
| Prop | Type | Description |
|---|---|---|
| title | string | Card heading. |
| href | string | Makes the title a link covering the card. |
| media | ReactNode | Optional media slot. |
| headingLevel | 2 | 3 | 4default 3 | Heading level of the title. |
Accessibility
Keyboard
- Tab / EnterFollow the link when href is set
ARIA and semantics
- Title renders as a real heading
- Only one link per card, so no nested interactive content
Source
Copy the files into your project. Or install with the commands above (they unlock with your license).
The full Card source is part of the license.
The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.
Unlock every icon