> Markdown version of [Elevation](https://vaadin.com/docs/v14/ds/foundation/elevation). Section index: [llms.txt](https://vaadin.com/docs/v14/ds/llms.txt)

# Elevation

Elevation is used to indicate elements which are stacked on top of other elements in the UI. Use these CSS Custom Properties to create visually consistent elevation styles.

> **Note: Only available in Lumo**
>
> This documentation applies only to the Lumo theme.

`lumo-tokens.ts`

```typescript
// Import all Lumo CSS custom properties into the global style scope
// tag::color[]
import '@vaadin/vaadin-lumo-styles/color';
// end::color[]
// tag::typography[]
import '@vaadin/vaadin-lumo-styles/typography';
// end::typography[]
// tag::size[]
import '@vaadin/vaadin-lumo-styles/sizing';
// end::size[]
// tag::space[]
import '@vaadin/vaadin-lumo-styles/spacing';
// end::space[]
// tag::style[]
import '@vaadin/vaadin-lumo-styles/style';
// end::style[]
// prettier-ignore
```

## <a id="box-shadow"></a>Box Shadow

Different levels of elevation are applied using box-shadow.

| Description                                                                                                                 | CSS Custom Property  |
| --------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **Extra Large** Elements highest in the stacking order, for example notifications, which should be above all other content. | --lumo-box-shadow-xl |
| **Large** Elements that rise above most elements in the UI, for example dialogs.                                            | --lumo-box-shadow-l  |
| **Medium** Contextual overlays, for components such as Select and Menu Bar.                                                 | --lumo-box-shadow-m  |
| **Small** Tooltips, etc.                                                                                                    | --lumo-box-shadow-s  |
| **Extra Small** Elements closest to the application background, for example cards.                                          | --lumo-box-shadow-xs |

`67A445FA-D374-4209-BEDB-ABAECCA5A916`
