Skip to main content

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
titlestringCard heading (required)
descriptionstringCard body text (required)
hrefstringLink destination (required)
variant'default' | 'feature' | 'guide''default'Visual variant
iconstringSDS icon class
titleInlinebooleanfalseShow icon + title in a row
badgestringBadge label above title
tagsstring[][]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.

Search Esc to close / Enter to view results