Depth
In dark theme, each level is lighter than the last.
PreviewFour levels from sidebar to overlay. In light theme, cards and overlays share a fill. Their shadows separate them. See the full surface scale in Colors.
Selected surfaces
Selected elements match the pane on recessed grounds and step up inside elevated ones.
PreviewSelected tabs and rows on the sidebar match the pane. Inside a pane, the selected fill steps up so it stays visible.On sidebar
Inside pane
Field surfaces
Fields sit one step brighter than the surface they rest on, never darker.
PreviewInput, select trigger and textarea on each surface level. The fill steps up with its ground. Text field borders keep 3:1 contrast. Backdrop
A modal dims the page without blurring text or images.
Shadows
Pick the shadow for the surface. Floating surfaces have no border.
| Token | Use |
|---|
| Cards. |
| Main islands: the chat page, panes and the browser. First elevation with a highlight ring. |
| Menus and anchored popovers. |
| Floating trays and panels. |
| Dialogs and sheets. |
Stacking
Use the stacking tiers instead of picking a new layer.
| Token | Use | Value |
|---|
| Hairlines and scrollbars just above their content. | |
| Pinned section headers and list bars. | |
| Scrim behind the narrow-window navigation drawer. | |
| Navigation drawer in a narrow window. | |
| Dialogs and sheets, including their exit fade. | |
| Floating menus, popovers and hover cards. | |
| Stack of status and feedback messages. | |
| Tooltips above all other floating layers. | |