3pxOffset: 0, 0Opacity: 30%Elevation communicates depth and layering through box shadows. The system defines 5 levels (sm → xl) plus dedicated focus ring shadows bound to Figma shadow variables. Use elevation purposefully — only when a component needs to visually float above its surroundings.
Four elevation levels — sm for subtle cards, xl for full-screen overlays. Each is defined as a Figma Shadow variable with all 5 properties (x, y, blur, spread, color) token-bound.
Shadows/sm
smCards, image thumbnails, subtle floating elements
X
0px
Y
2px
Blur
8px
Spread
0px
0 2px 8px 0 rgba(0,0,0,0.06)Shadows/md
mdDropdowns, select menus, date pickers, tooltips, popovers
X
0px
Y
8px
Blur
24px
Spread
-4px
0 8px 24px -4px rgba(0,0,0,0.12)Shadows/lg
lgModals, dialogs, drawers, side sheets
X
0px
Y
16px
Blur
40px
Spread
-8px
0 16px 40px -8px rgba(0,0,0,0.16)Shadows/xl
xlFull-page overlays, command palettes, mega menus
X
0px
Y
24px
Blur
64px
Spread
-16px
0 24px 64px -16px rgba(0,0,0,0.20)Focus rings are implemented as Figma DROP_SHADOW effects with spread=3, offset=(0,0), radius=0. The ring colour uses the Shadows/focus token.
Default focus ring
All interactive elements (buttons, inputs, checkboxes, tabs)
3pxOffset: 0, 0Opacity: 30%Error focus ring
Inputs and fields in error state
3pxOffset: 0, 0Opacity: 30%All shadow values are available as Figma variables in the Shadows collection.
| Token | Value | Description |
|---|---|---|
Shadows/sm | 0 2px 8px 0 | Cards, subtle floating elements |
Shadows/md | 0 8px 24px -4px | Dropdowns, popovers, tooltips |
Shadows/lg | 0 16px 40px -8px | Modals, dialogs, side sheets |
Shadows/xl | 0 24px 64px -16px | Full-screen overlays, command palettes |
Shadows/focus | 0 0 0 3px (teal/30) | Default focus ring — all interactive elements |
Shadows/focus/error | 0 0 0 3px (red/30) | Error focus ring — error-state inputs and fields |
focus/color | rgba(51,169,146,0.3) | Focus ring colour (teal at 30% opacity) |
focus/color/error | rgba(239,68,68,0.3) | Error focus ring colour (red at 30% opacity) |
Elevation hierarchy — layer order for common UI surfaces
Do
Don't