Overview Button Copy button Field Input Number field Textarea Select Combobox Multiselect Date picker Date range picker Date-time picker Checkbox Radio group Position picker Switch Slider Dropzone Device controls Avatar Badge Card Collapsible Kbd Map Matrix Proportion bar Separator Stat Table Timeline Chat Playback Pagination Charts Chart theming Profile chart Time series chart Bar chart Isopleth chart TS diagram Box plot Rose chart Calendar chart Banner Toast Loader Progress Skeleton Empty state Error state Dropdown menu Tooltip Info tooltip Dialog Sheet Resizable Confirm dialog Breadcrumbs Command palette Mobile menu Navigation list Outline Scroll rail Sidebar Tabs
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}`.