Elevation
Intro
Elevation refers to the perceived virtual height or distance from the background to a component’s surface. This concept is a combination of techniques and visual cues, such as tonal color, shadows, and scrims, that allows for a layered yet cohesive visual experience.
Examples of elevation using tonal color (left), shadow (middle), and scrim (right)
Tonal Color
Tonal color is used to define different component’s tappable area
Surface
Tonal color is used to define different component’s tappable area
Surface Container
Surface container color roles are used to provide contrast and definition between different containment areas
Shadows: Adding Depth and Focus
Shadows can be used to supplement components in instances where contrast is not met. For example, a button over an image (left) or a button over a background with similar contrast (right)
Elevation Levels
SAP Fiori for Android provides five distinct elevation levels (0-4) to establish visual hierarchy within the UI. Higher levels are typically used for prominent content, guiding users’ attention to the most critical interactive areas.
Scrim
Scrim provides focus and elevation for components like bottom sheet
Resources
SAP Fiori for iOS: Elevation
Android Developers (Elevation)
Related Components/Patterns: Color, Accessibility