DocCard
Content card for documentation index pages and content lists. Supports three variants, optional icon, badge, tags, and inline title mode.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Card heading (required) |
| description | string | — | Card body text (required) |
| href | string | — | Link destination (required) |
| variant | 'default' | 'feature' | 'guide' | 'default' | Visual variant |
| icon | string | — | SDS icon class |
| titleInline | boolean | false | Show icon + title in a row |
| badge | string | — | Badge label above title |
| tags | string[] | [] | Tag pills below description |
Variants
Inline title
When titleInline is true and an icon is set, the icon and title render in a single row.
With badge
With tags
Combined
All optional props together.