Skip to main content

Elevation

Shadows are used to give the impression of distance or elevation between surfaces, which adds depth to our designs.

Elevation on Android

Android uses built-in, Material Design tokens to represent elevation. This means that in order to show elevation within components, we need to assign an elevation value to it and the shadow will automatically be generated.

The table below shows the corresponding values between Material and PIE tokens.

PIE Alias token Material UI
$elevation-01 01dp
$elevation-02 04dp
$elevation-03 06dp
$elevation-04 09dp
$elevation-05 24dp