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?Only what floatsOnly menus and dialogs float; cards use lines.
How many shadow levels exist?OneOne shadow for everything that floats.
What separates groups on the page?LinesThin lines guide the eye along rows.
How soft are shadows?SubtleSubtle shadows keep the grid crisp.
Where does elevation show?Menus and dialogsMenus and dialogs are the only layers.

Tokens​

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

TokenPoints to, lightPoints to, dark
elevation.carddense-data.theme.light.elevation.card → shadow.nonedense-data.theme.dark.elevation.card → shadow.none
elevation.overlaydense-data.theme.light.elevation.overlay → shadow.overlaydense-data.theme.dark.elevation.overlay → shadow.overlay-dark

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

When to use what​

SituationUseNotWhy
A card on the pageA hairline border, no shadowA shadowOn a busy grid, lines separate. Shadows blur the edges.
A menu or dialogelevation.overlay and a dimmed page for dialogsA border onlyFloating things need a shadow so they read as on top.