BlogPlaygroundOne

Elevation

The elevation helpers control the relative depth between surfaces along the z-axis. Following Material Design 3 guidelines, Vuetify uses 6 elevation levels (0-5). Elevation values are measured in dp (density-independent pixels), a unit that ensures consistent sizing across different screen densities.

Edit this page
Report a Bug
Copy Page as Markdown
ClassLevel (dp)Usage
elevation-00dpNo shadow - flat surfaces
elevation-11dpCards, buttons (elevated)
elevation-23dpMenus, rich tooltip, floating app bar
elevation-36dpDialogs, snackbars, FABs
elevation-48dpDragged elements
elevation-512dp

In MD3, elevation changes are commonly used to indicate interactive states. For example, a card at rest might use elevation-1, rising to elevation-2 on hover and elevation-3 when pressed or dragged.


Usage

The elevation helper classes allow you to assign a custom z-depth to any element.

0
1
2
3
4
5

Examples

Props

Dynamic elevation

Numerous components utilize the elevatable mixin and are given an elevation prop. For components that are not supported, you can dynamically change the class

Prop based elevation
Class based elevation

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.