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?Cards tooCards lift slightly to group offers.
How many shadow levels exist?TwoOne shadow for cards, one for overlays.
What separates groups on the page?CardsCards group plans and offers.
How soft are shadows?SoftSoft shadows fit every brand.
Where does elevation show?Cards, menus and dialogsCards, menus and dialogs rise.

Tokens​

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

Aster

TokenPoints to, lightPoints to, dark
elevation.cardaster.theme.light.elevation.card → shadow.cardaster.theme.dark.elevation.card → shadow.card-dark
elevation.overlayaster.theme.light.elevation.overlay → shadow.overlayaster.theme.dark.elevation.overlay → shadow.overlay-dark

Birch

TokenPoints to, lightPoints to, dark
elevation.cardbirch.theme.light.elevation.card → shadow.cardbirch.theme.dark.elevation.card → shadow.card-dark
elevation.overlaybirch.theme.light.elevation.overlay → shadow.overlaybirch.theme.dark.elevation.overlay → shadow.overlay-dark

Coral

TokenPoints to, lightPoints to, dark
elevation.cardcoral.theme.light.elevation.card → shadow.cardcoral.theme.dark.elevation.card → shadow.card-dark
elevation.overlaycoral.theme.light.elevation.overlay → shadow.overlaycoral.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 pageelevation.cardA border onlyCards lift slightly to group offers.
A menu or dialogelevation.overlay and a dimmed pageNo shadowThe shadow shows a menu or dialog floats above the page. Without it, it blends into the cards.