Shadow tokens and Box elevation enums for depth.
Elevation communicates stacking order in dark chrome. CSS exposes --shadow-1 through --shadow-5; React exposes Elevation.None | Low | Medium | High on Box.
Name | Type | Default | Description |
|---|---|---|---|
|
|
| Closest to the canvas; cards and inset panels. |
|
|
| Popovers, menus, and transient surfaces. |
|
|
| Dialogs and focus layers. |
|
|
| Large overlays spanning multiple regions. |
|
|
| Maximum separation for critical modals. |
| Enum | Intended surface |
|---|---|
Elevation.Low | Raised cards, inline summaries |
Elevation.Medium | Hovering menus, tooltip frames |
Elevation.High | Modal shells and blocking flows |
z-index tokens (--z-index-modal, --z-index-popover, etc.) when managing portals..pr-tooltip sits at calc(var(--z-index-tooltip) + 100) so tooltips paint above popovers even though the two tokens share the same numeric value.On this page