Skip to content

Layering

We use z-indices to control layering in our user interfaces by providing a third axis to arrange content. They are commonly used for overlay components such as for modals, popovers and tooltips.
TokenValue
zIndexSurface1
zIndexOverlay5
zIndexWindow10
zIndexDropdown20
zIndexTooltip30
zIndexNavigation40
zIndexModal50
zIndexPopover60
import {tokens} from '@pleo-io/telescope'
const element = styled.div`
z-index: ${tokens.zIndexSurface};
`