Card

A raised surface grouping related content — the workhorse of SaaS dashboards. Header + body (+ optional footer) slots. The header adapts to the card's OWN width via a container query: it stacks vertically when the card is narrow, even on a wide screen (resize the demo panels). Elevation comes from a soft shadow, not a heavy bg shift.

Standard card

Quarterly usage

API calls this quarter: 1.2M (+8% QoQ). Peak: 18k/hour on Mar 14.

Billing

Next invoice: $4,800 on Jul 1. Payment method: Visa •••• 4242.

App surface

Use data-surface="app" when cards live in dense desktop app shells and need a tighter, more operational corner radius.

Acme Ops

Active
Enterprise plan · $2,400/mo

Northwind

Trialing
Pro plan · $980/mo

Globex

Past due
Pro plan · $980/mo

Interactive (clickable) cards

Add data-interactive (or use an <a class="c-card">) for a hover lift + focus ring. Use these for navigation tiles and selectable list items.

Acme Ops

Active
Enterprise plan · $2,400/mo

Northwind

Trialing
Pro plan · $980/mo

Globex

Past due
Pro plan · $980/mo

Container-query header collapse

The two cards below are in a fixed narrow panel. Even on a wide screen, their headers stack because the card is narrow (< 28rem), not the viewport.

Acme Ops

Header stacks when the card is narrow.

Northwind

Header stacks when the card is narrow.