Skip to main content

Elevation

When something rises above the page, and what separates groups.

elevation.card elevation.overlay

The five answers​

QuestionAnswerWhy
What rises above the page?NothingFlat is easier to read at high zoom.
How many shadow levels exist?NoneNo shadows.
What separates groups on the page?LinesStrong borders separate groups at any zoom.
How soft are shadows?No shadowsNo shadows; borders do the work.
Where does elevation show?Dialogs onlyOnly dialogs separate, with a dimmed page and a border.

Tokens​

Each token points to another token. Values live only on primitives, below.

TokenPoints to, lightPoints to, dark
elevation.cardaccessible-first.theme.light.elevation.card → shadow.noneaccessible-first.theme.dark.elevation.card → shadow.none
elevation.overlayaccessible-first.theme.light.elevation.overlay → shadow.noneaccessible-first.theme.dark.elevation.overlay → shadow.none

The raw values these tokens end at are on Primitives › Effects.

When to use what​

SituationUseNotWhy
A card on the pageA strong border, no shadowA shadowShadows are hard to see; borders are not.
A menu or dialogA strong border and a dimmed pageA shadow onlyThe dimmed page makes the dialog obvious.