Skip to main content

Elevation

Depth by tone first, a 1 px border second, a shadow last.

Stacking order is a named scale, never a raw number. The TopBar and the PageHeader tab row share z-sticky; everything that floats sits above them, so a menu opened from a sticky row is never clipped.

TokenValueUtilityUse for
z.base0z-base

Page content.

z.raised10z-raised

An element lifted inside its section, such as a dragged row.

z.sticky100z-sticky

TopBar, the PageHeader tab row, sticky table headers.

z.dropdown1000z-dropdown

Select lists and menus.

z.overlay1100z-overlay

The scrim behind a dialog.

z.modal1200z-modal

Dialogs and sheets.

z.popover1300z-popover

Popovers opened from inside a dialog.

z.toast1400z-toast

Toasts and the focused skip link.

z.tooltip1500z-tooltip

Tooltips, above everything.