Design · Prizma Design Foundations

Elevation

Five levels of depth, each with a fixed shadow recipe and a clear job. Elevation communicates what floats above what — it is never decoration.

Shadow scale

Flat--shadow-noneLow--shadow-smMid--shadow-mdHigh--shadow-lgOverlay--shadow-xl

Shown on a light background — shadows are visible against white.

Shadow signals hierarchy

Higher elevation = more visual weight = content that demands attention. Every level is intentional — don't use Overlay for a tooltip.

Flat uses border, not faint shadow

Flat surfaces are separated by a 1px border token, not a subtle shadow. Faint shadows are hard to control across light and dark modes.

Dark mode lifts the surface

In dark mode, elevation is often communicated by lightening the surface color — not deepening the shadow. Tokens handle this automatically.

FlatElevation.0 · --shadow-none · noneNo shadow. Distinguish with a 1px border instead.
LowElevation.1 · --shadow-sm · 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.10)Subtle lift. Interactive or slightly raised surfaces without strong hierarchy.
MidElevation.2 · --shadow-md · 0 4px 8px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06)Moderate depth. Standard elevation for floating elements and focused surfaces.
HighElevation.3 · --shadow-lg · 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08)Strong depth. Content sits significantly above the base surface.
OverlayElevation.4 · --shadow-xl · 0 20px 48px rgba(0,0,0,0.18), 0 8px 16px rgba(0,0,0,0.10)Maximum elevation. Reserved for full-screen overlays and blocking surfaces.
FlatElevation.0No shadow. Distinguish with a 1px border instead.Default cardsList itemsTable rowsInput fields
LowElevation.1Subtle lift. Interactive or slightly raised surfaces without strong hierarchy.Hover state cardsSticky table headersInline action menus
MidElevation.2Moderate depth. Standard elevation for floating elements and focused surfaces.Dropdown menusPopoversFocused cardsTooltips
HighElevation.3Strong depth. Content sits significantly above the base surface.ModalsDialogsSide drawersCommand palettes
OverlayElevation.4Maximum elevation. Reserved for full-screen overlays and blocking surfaces.Full-screen modalsBottom sheetsContext menus with backdrops
Was this page helpful?