Elevation

Shadow tokens for depth and hierarchy.

Elevation scale

Six steps from a subtle lift to a floating overlay, plus shadow-status for status dots.

shadow-sm--elevation-sm
shadow-base--elevation-base
shadow-md--elevation-md
shadow-lg--elevation-lg
shadow-xl--elevation-xl
shadow-2xl--elevation-2xl

Surface pairing

In dark mode, shadows fade against dark backgrounds, so depth comes from a lighter surface instead. The surface-elevation-* tokens handle this: they stay white in light mode and step lighter in dark mode. Pair shadows with these tokens rather than raw surface-gray-* so one class works in both themes.

Pairings used by the components:

Use caseSurfaceShadow
Resting card, active nav itemsurface-elevation-3shadow-sm / shadow-base
Dialog, Popoversurface-elevation-2shadow-xl
Dropdown, Select, floating menusurface-elevation-2shadow-2xl