Card

A framed group of things that belong together: a summary, a section of settings, a figure and its caption.

With header and footer

Next mission

Round 18 of 20

Date
18 Nov 2026
Status
Scheduled
Sampling
CTD, water samples
<Card title="Next mission" description="Round 18 of 20">
	{#snippet actions()}<Button size="sm" variant="ghost">Edit</Button>{/snippet}
	…
	{#snippet footer()}<Button size="sm" variant="secondary">Open the mission</Button>{/snippet}
</Card>

<Card href="/projects/starefoss" title="Starefoss ledning" description="Vestland Marin AS" />

As a link

The whole card opens the project, and lifts on hover.

Rules

  • A card is one object: a summary, a figure, a setting. Not a way to space a page out.
  • Never a card in a card. Inside one, part things with space or a Separator.
  • The title says what’s in it. Actions go top right, at most two; more go in a ⋮ menu.
  • A card that opens something is a link as a whole, not a card with a link in it.
  • A table or list inside runs edge to edge: set `inset={false}`.