Skip to Content
Documentation
Getting startedComponentsChartsTheming
Get Pro
Concepts
Overview
Customization

Shadows

Elevation tokens tinted by the shadow color

Shadows are semantic. They use {colors.shadow} (exposed as --color-shadow). Dark mode adds a thin inset highlight. Change the pigment, not the recipe, to retint elevation.

TokenUse
xs2xlElevation ramp
inner / insetRecessed wells
overlayFloating panels, menus, dialogs

layerStyle="overlay" applies shadows.overlay together with bg.overlay and radii.panel.

theme.semanticTokens.shadows

xs
sm
md
lg
xl
2xl
inner
inset
overlay

Previous

Radii

Next

Sizes