Z-Index
Semantic tokens
Section titled “Semantic tokens”| Token | Value | Description | |
|---|---|---|---|
zIndex.base | 0 | primitive.zIndex.0 | Default layer for regular page content. |
zIndex.sticky | 100 | primitive.zIndex.100 | Pinned in-page UI such as sticky headers, filters, or section navigation. |
zIndex.header | 200 | primitive.zIndex.200 | Persistent site or app header that should sit above sticky page content. |
zIndex.popover | 300 | primitive.zIndex.300 | Non-blocking floating UI such as dropdowns, submenus, and popovers. |
zIndex.tooltip | 400 | primitive.zIndex.400 | Transient descriptive UI that sits above popovers. |
zIndex.toast | 500 | primitive.zIndex.500 | Global notification UI that should sit above tooltips and popovers. |
zIndex.scrim | 600 | primitive.zIndex.600 | Backdrop layer behind blocking surfaces such as dialogs and drawers. |
zIndex.dialog | 700 | primitive.zIndex.700 | Top-level blocking surface such as a modal or drawer. |
Primitive tokens
Section titled “Primitive tokens”| Token | Value | Preview |
|---|---|---|
zIndex.0 | 0 | |
zIndex.1 | 1 | |
zIndex.100 | 100 | |
zIndex.200 | 200 | |
zIndex.300 | 300 | |
zIndex.400 | 400 | |
zIndex.500 | 500 | |
zIndex.600 | 600 | |
zIndex.700 | 700 | |
zIndex.800 | 800 | |
zIndex.900 | 900 | |
zIndex.1000 | 1000 |