TokensZ-index
Z-index
Locked at the system level. Overriding breaks layering across products in the family. Overlay=50, modal=popover=60, tooltip=70, toast=80.
Cross-product layering
Z-index values are locked across every Kaotypr product so layered surfaces (modal in app A, tooltip in app B) compose predictably. Overriding any of these is a bug.
z-sticky= 30z-dropdown= 40z-overlay= 50 (scrim sits below modal/popover)z-modal=z-popover= 60z-tooltip= 70z-toast= 80 (always on top)
Locked tokens
8 tokens--z-index-base- Light
- 0
z=0
--z-index-dropdown- Light
- 40
z=40
--z-index-modal- Light
- 60
z=60
--z-index-overlay- Light
- 50
z=50
--z-index-popover- Light
- 60
z=60
--z-index-sticky- Light
- 30
z=30
--z-index-toast- Light
- 80
z=80
--z-index-tooltip- Light
- 70
z=70