Skip to content

Card

A title, description and optional whole-card link, composed as a single <article>.

  • headingLevel: h2, h3 (default), h4
  • eyebrow: optional label above the title
  • href: optional; makes the whole card clickable while keeping the visible title link keyboard-focusable
  • media slot: optional non-interactive image above the card body
<Card title="A project" description="A short summary." href="/work/project/">
<Image slot="media" src="https://placehold.co/400x400" alt="Project preview" ratio="square" />
</Card>