Elevation
Shadows are used to give the impression of distance or elevation between surfaces, which adds depth to our designs.
Alias tokens by theme
Surface separation is achieved using elevation tokens. Each token has a different depth, determining where they can be used.
Default elevation
Example Description Token name
- Elevation below 10 Used for slightly raised element such as cards and popovers. Global token used: $box-shadow-a$elevation-below-10
- Elevation below 20 Used for floating buttons, modals and toasts. Global token used: $box-shadow-b$elevation-below-20
- Elevation above 20 Used for bottom sheets and bottom menus. Global token used: $box-shadow-c$elevation-above-20
- Elevation 01$elevation-01
- Elevation 02$elevation-02
- Elevation 03$elevation-03
- Elevation 04$elevation-04
- Elevation 05$elevation-05
- Elevation card$elevation-card
Inverse elevation
Example Description Token name
- Elevation inverse below 10 Used for slightly raised element such as cards and popovers. Global token used: $box-shadow-d$elevation-inverse-below-10
- Elevation inverse below 20 Used for floating buttons, modals and toasts. Global token used: $box-shadow-e$elevation-inverse-below-20
- Elevation inverse above 20 Used for bottom sheets and bottom menus. Global token used: $box-shadow-f$elevation-inverse-above-20
- Elevation inverse 01$elevation-inverse-01
- Elevation inverse 02$elevation-inverse-02
- Elevation inverse 03$elevation-inverse-03
- Elevation inverse 04$elevation-inverse-04
- Elevation inverse 05$elevation-inverse-05
- Elevation inverse card$elevation-inverse-card
Default elevation
Example Description Token name
- Elevation inverse below 10 Used for slightly raised element such as cards and popovers. Global token used: $box-shadow-d$elevation-below-10
- Elevation below 20 Used for floating buttons, modals and toasts. Global token used: $box-shadow-e$elevation-below-20
- Elevation above 20 Used for bottom sheets and bottom menus. Global token used: $box-shadow-f$elevation-above-20
- Elevation 01$elevation-01
- Elevation 02$elevation-02
- Elevation 03$elevation-03
- Elevation 04$elevation-04
- Elevation 05$elevation-05
- Elevation card$elevation-card
Inverse elevation
Example Description Token name
- Elevation inverse below 10 Used for slightly raised element such as cards and popovers. Global token used: $box-shadow-a$elevation-inverse-below-10
- Elevation inverse below 20 Used for floating buttons, modals and toasts. Global token used: $box-shadow-b$elevation-inverse-below-20
- Elevation inverse above 20 Used for bottom sheets and bottom menus. Global token used: $box-shadow-c$elevation-inverse-above-20
- Elevation inverse 01$elevation-inverse-01
- Elevation inverse 02$elevation-inverse-02
- Elevation inverse 03$elevation-inverse-03
- Elevation inverse 04$elevation-inverse-04
- Elevation inverse 05$elevation-inverse-05
- Elevation inverse card$elevation-inverse-card