Card

Use Card and CardGrid for small groups of related links, concepts, or next actions. Cards are intentionally simple: title, description, and an optional link.

Usage

<CardGrid>
  <Card title="Markdown" description="Write regular docs pages." href="/pages/" />
  <Card title="MDX" description="Use components for richer examples." href="/components/" />
</CardGrid>

Options

CardGrid

PropTypeDefaultNotes
classstring""Extra classes applied to the grid root.

Card

PropTypeDefaultNotes
titlestringundefinedMain card heading.
descriptionstringundefinedMuted text below the title.
hrefstringundefinedRenders the card as a link.
classstring""Extra classes applied to the card root.

Examples

Card grid

Custom width

Custom width

Use class overrides when the layout needs it.