Skip to Content
ReferenceStylingInterface layer tokens

Interface layer tokens

Audience: Developers.

Use named CSS variables for page-wide layers. The numeric values describe their order.

Layer tokens

PurposeValueCSS variableWhen to use it
Normal content0 / automatic--layer-contentPage sections, cards, images and text. Usually no z-index is necessary.
Local details1–20—Badges, image controls and other details inside an isolated component. These values are not page-wide layers.
Sticky content30--layer-stickySticky calls to action, quick links and a table of contents.
Navigation40--layer-navigationThe header and navigation panels.
Floating tools50--layer-toolsComparison/audio controls, page editing tools and scroll-to-top controls.
Dropdowns60--layer-dropdownMenus, selection lists and search suggestions. Shared controls assign this layer automatically.
Dialogs100, then +20 per open dialog--layer-dialogFilters, enquiries, financing, account dialogs and image viewers. Opening order is assigned automatically.
Notifications1000--layer-notificationTransient status notifications and page-loading progress. Do not use this layer for controls or dialogs.

The same layer rules apply at every breakpoint. See interface layers for stacking behavior. See style custom controls for the task.

Last updated on