Skip to main content

Elevation

Our elevation system is employed to indicate the hierarchy in the interface visually. They are used as a visual indication to show depth and establish a spatial relationship between elements.

Z-index Order

UI elements are depicted on a relative distance between each other. To concistenly place them on top of each other, every element makes use of a z-index order. This emphasizes a layering effect and hierarchy in our interfaces.

NameDetail
zIndex100tooltip
zIndex200menu
zIndex300popover
zIndex400sticky-content
zIndex500sheet
zIndex600modal-backdrop
zIndex700modal-sheet
zIndex800modal (dialog, alert, page, full screen)
zIndex900toast

Shadows

Shadows can increase the relative depth for a given z-index order. An element with a smaller and sharper shadow indicates that the surface is closer to the surface behind it. Larger and softer shadows indicate more distance.

NameDetail
shadow-inset-2inset 0 1px 15px 0 rgba(0,0,0,0.28)
shadow-inset-1inset 0 1px 10px 0 rgba(0,0,0,0.24)
shadow-0none
shadow-10 2px 4px 0 rgba(0,0,0,0.12)
shadow-20 2px 7px 0 rgba(0,0,0,0.28)
shadow-30 7px 14px 0 rgba(0,0,0,0.28)
shadow-40 14px 28px 0 rgba(0,0,0,0.28)