Shape & depth
Corner radius, border width, scale, shadows, layers, and opacity.
Shape
Corner radius
5 tokens
dimension.radius.small--semantic-dimension-radius-smallUse for intentionally subtle corner rounding where the default radius is too pronounced.
- Value
0.1875rem · 3pxdimension.radius.100
dimension.radius.default--semantic-dimension-radius-defaultUse for borders and container corners by default; choose another radius token only when the component has a specific shape requirement.
- Value
0.375rem · 6pxdimension.radius.200
dimension.radius.medium--semantic-dimension-radius-mediumUse when a T-shirt-sized radius scale is explicitly required and a medium radius fits the component.
- Value
0.375rem · 6pxdimension.radius.200
dimension.radius.large--semantic-dimension-radius-largeUse for intentionally prominent corner rounding where the default radius is not strong enough.
- Value
0.75rem · 12pxdimension.radius.300
dimension.radius.full--semantic-dimension-radius-fullUse for pills and circular shapes that require complete roundness regardless of element size.
- Value
100rem · 1600pxdimension.radius.full
Border width
5 tokens
dimension.borderWidth.small--semantic-dimension-border-width-smallUse for subtle 1px borders that need less visual emphasis than the default.
- Value
1pxdimension.borderWidth.100
dimension.borderWidth.default--semantic-dimension-border-width-defaultUse as the default 2px border width. Choose a T-shirt size only when the default is not appropriate.
- Value
2pxdimension.borderWidth.200
dimension.borderWidth.focusRing--semantic-dimension-border-width-focus-ringUse for the width of the keyboard-focus ring, whether it is drawn outside a control or inset within it.
- Value
2pxdimension.borderWidth.200
dimension.borderWidth.medium--semantic-dimension-border-width-mediumUse for the default 2px border treatment.
- Value
2pxdimension.borderWidth.200
dimension.borderWidth.large--semantic-dimension-border-width-largeUse for prominent borders that need the strongest visual emphasis.
- Value
4pxdimension.borderWidth.300
Scale
3 tokens
number.scale.popup--semantic-number-scale-popupUse for the size popups grow from as they open and shrink to as they close.
- Value
0.98number.scale.980- Plays with
- transition.movement.popup
number.scale.rest--semantic-number-scale-restUse for the element's own size when it is not moving.
- Value
1number.scale.1000
Depth
Shadows
2 tokens
shadow.popup--semantic-shadow-popupUse to separate floating panels such as dropdowns from the surface beneath them.
- Value
2px 2px 8px 0px rgb(0% 0% 0% / 0.15)
shadow.sticky--semantic-shadow-stickyUse under sticky elements, such as a pinned toolbar or table of contents, while content scrolls beneath them. Fade it in as content starts to pass underneath.
- Value
0px 4px 8px 0px rgb(0% 0% 0% / 0.15)
Layers
5 tokens
number.layer.background--semantic-number-layer-backgroundUse for decorative content placed behind other content within an isolated component or application stacking context.
- Value
-1number.layer.below
number.layer.raised--semantic-number-layer-raisedUse to lift an element above its siblings within the same stacking context, such as a control overlapping a field or text above a decorative bleed.
- Value
1number.layer.1
number.layer.floating--semantic-number-layer-floatingUse for panels anchored in the page that scroll with it, such as a compact table of contents opened in place. They stay below sticky page chrome.
- Value
10number.layer.10
number.layer.sticky--semantic-number-layer-stickyUse for sticky or fixed page chrome that content scrolls under, such as a sticky header or a fixed side navigation.
- Value
100number.layer.100
number.layer.overlay--semantic-number-layer-overlayUse when a host application needs an explicit overlay layer above its content, such as a skip link. Keep document-ordered portal families, including Base UI nested popups, on a consistent automatic layer instead of assigning this value to individual parts.
- Value
1000number.layer.1000
Opacity
5 tokens
number.opacity.disabled--semantic-number-opacity-disabledUse as the opacity for disabled elements that remain visible but unavailable for interaction.
- Value
0.4number.opacity.400
number.opacity.stale--semantic-number-opacity-staleUse for content shown while its replacement loads, such as the previous page during navigation. Do not use for disabled elements; use
disabled.- Value
0.25number.opacity.250
number.opacity.pulse--semantic-number-opacity-pulseUse for the dim end of a loading pulse, such as a skeleton, alternating with
visibleovertransition.pulse. Do not use for disabled elements.- Value
0.6number.opacity.600
number.opacity.visible--semantic-number-opacity-visibleUse for the fully opaque end of a fade, such as an open popup.
- Value
1number.opacity.1000
No matching tokens
Nothing matches “”. Try a shorter or different word.