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.
|
Importing
Import the custom properties before using them in your style sheets.
import '@vaadin/vaadin-lumo-styles/style.js';
Box Shadow
Different levels of elevation are applied using box-shadow.
Description | CSS Custom Property |
---|---|
Extra Large | --lumo-box-shadow-xl: |
Large | --lumo-box-shadow-l: |
Medium | --lumo-box-shadow-m: |
Small | --lumo-box-shadow-s: |
Extra Small | --lumo-box-shadow-xs: |
F3F9FE20-3BA3-4A6C-A559-DD8C7DD91E13