Shadows create hierarchy between elements along a z-axis on screens. By using different surfaces and shadows, we can direct users to interact with UI elements.
Ways to depict elevation
Shadow
The simplest way to depict elevation is to use shadows. We adjust the shadow level to create different levels of distance.
Tonal difference
We add tonal difference by using different defined colours, components, or surfaces. For example, different status buttons or coloured action cards create separation between surfaces.
Scrim
Scrim can be used on overlapping surfaces to create elevation, such as on modals and tutorial screens.
Prioritise the action
Some objects, such as floating buttons, are given higher levels of elevation for added visual priority. We also direct the user’s attention to specific content by disabling other surfaces using scrim.
Do
Use scrim and modal together to make users focus on important information.
Don't
Don't forget to add shadows to floating buttons, or they may not stand out among components with applied shadow.