Foundations

Card

The content surface: header, description, action, content and footer.

npx shadcn-svelte@latest add http://localhost:5173/r/card.json

Default

24px radius, hairline border, resting elevation. Opaque — never translucent.

light
Sign in

Use the email you registered with.

dark
Sign in

Use the email you registered with.

Small, with metrics

size="sm": 16px radius, tighter padding. Numbers are tabular.

light

Revenue

$48,210
+12.4%

Subscribers

2,318
+3.1%

Churn

1.04%
−0.2%
dark

Revenue

$48,210
+12.4%

Subscribers

2,318
+3.1%

Churn

1.04%
−0.2%

Header with action and divided footer

light
Team members

Invite people to collaborate.

  • Ada LovelaceOwner
  • Alan TuringEditor
dark
Team members

Invite people to collaborate.

  • Ada LovelaceOwner
  • Alan TuringEditor