Elevation
UI DesignWhat is Elevation
Elevation is the distance between two surfaces along the z-axis, the depth of the screen. Designers use it to show which elements sit above others, such as a menu over a page or a dialog over content.
How Elevation works
- Shadows: Higher elements cast larger, softer shadows
- Surface color: Higher surfaces can be lighter, especially in dark mode
- Levels: Material 3 uses six levels, from 0 to +5
- Interaction: Elements can rise on hover or while dragged
When to use Elevation
Use elevation to show layers and focus. Menus, dialogs, bottom sheets and floating buttons sit higher than the page. Keep the number of levels small so the depth stays easy to read. Do not raise every card, or nothing will stand out.
Elevation in dark mode
Shadows almost disappear on dark backgrounds. Apple uses brighter elevated backgrounds for layers in front, and Material 3 uses tonal surface colors to show which surface is higher.
Frequently asked questions
How many elevation levels does Material Design use?
Material 3 uses six levels, from 0 to +5. Elements at rest sit on levels 0 to +3, and levels +4 and +5 are kept for interaction states such as hover and dragging.
How do you show elevation in dark mode?
Shadows are hard to see on dark backgrounds, so higher surfaces get lighter colors. Apple uses brighter "elevated" backgrounds, and Material 3 uses tonal surface colors.
What is the difference between elevation and a drop shadow?
Elevation is the idea of how far one surface sits above another. A drop shadow is one way to show it. Surface color and overlap can show elevation too.
Related terms
View all UI Design terms →Drop Shadow
A drop shadow is a shadow placed behind an element so it looks raised above the surface. In UI design, drop shadows show depth and help…
Dark Mode
Dark mode is an appearance setting that shows light text and elements on a dark background. Users turn it on at the system level, and apps…
Material Design
Material Design is Google's design system , first released in 2014. It gives designers and developers guidelines, components and code for…
Card
A card is a container that groups short, related information about one subject , such as a product, article or job. It roughly looks like…
Visual Hierarchy
Visual hierarchy is the order in which the eye moves through the elements on a screen. Designers set it with contrast, size and grouping…
Modal
A Modal (also known as modal window or dialog box) is a secondary window that appears on top of the main interface, temporarily…
