Web components

Theme tokens and components. Ratios are WCAG contrast of the text on its surface; ✕ marks anything under 4.5.

Surfaces

Each surface with the text color meant to sit on it.

Aa
background foreground
Aa
card card-foreground
Aa
popover popover-foreground
Aa
primary primary-foreground
Aa
secondary secondary-foreground
Aa
muted muted-foreground
Aa
accent accent-foreground
Aa
card destructive

Lines and charts

border
input
ring
sidebar-border
sidebar-ring
chart-1
chart-2
chart-3
chart-4
chart-5
Weekly bookings
Chart colors on a card, in order.
1
2
3
4
5

Buttons

Forms

Enter a valid email address.

Cards and overlays

Session Q12
Saturday, 10:00 to 10:30
Paid

A card with a header action, body text and a footer.

Menus, tooltips and loading
Popover surfaces and skeletons.

Sidebar

Sidebar tokens, shown as a sidebar would use them.

Aa
sidebar sidebar-foreground
Aa
sidebar-primary sidebar-primary-foreground
Aa
sidebar-accent sidebar-accent-foreground

Shadows

shadow-2xs
shadow-xs
shadow-sm
shadow
shadow-md
shadow-lg
shadow-xl
shadow-2xl

Typography

The quick brown fox

Body text in the foreground color.

Muted text for secondary information.

Inline primary link and inline code.