Documents

Numeric tokens

Original values beside a useful comparison, from the active preset.

Spacing with its representation

Numeric theme variables
TokenValuepxRepresentation
--spacing-4xs.125rem2px
--spacing-3xs.25rem4px
--spacing-2xs.375rem6px
--spacing-xs.5rem8px
--spacing-sm.75rem12px
--spacing-md1rem16px
--spacing-lg1.5rem24px
--spacing-xl2rem32px
--spacing-2xl3rem48px
--spacing-3xl4rem64px
--spacing-4xl6rem96px
--spacing-5xl8rem128px

Used on the Layout System guide.

Usage and interface

ThemeNumberVariableTable reads numeric tokens and their units from the preset. The spacing representation uses a hatched field and raised objects to expose each actual gap. Its table has stable token and value columns, quiet row separators, and a keyboard-focusable scroll region on narrow screens.

<ThemeNumberVariableTable namespace="spacing" representation="spacing" />

The representation prop is optional. Breakpoints and Containers use the same data-driven table with descriptions, without the spacing specimen. Keep the native token value and reference unit visible in text, and place this inventory outside a measured layout demo. The numeric table review shows the current shared table.