Design system · Component review 19

Numeric token table

The Spacing Guide already uses a useful pink field to reveal gaps. The numeric table should preserve that visual language while keeping token values, pixel equivalents and descriptions easy to scan.

Adopted shared style: ThemeNumberVariableTable uses the refined pink specimen for spacing. The published Guide keeps its surrounding content and layout.

Token treatments

The same five manifest spacing tokens appear in each treatment. Their actual values set the gaps in the specimens.

01

Original Guide

Pink spacing specimen

TokenValuePXRepresentation
--spacing-4xs.125rem2px
--spacing-3xs.25rem4px
--spacing-2xs.375rem6px
--spacing-xs.5rem8px
--spacing-sm.75rem12px

The original uses the pink diagonal field and raised blocks to make each gap visible. The table keeps the established Guide typography.

02

Current

Neutral demo pattern

TokenValuePXRepresentation
--spacing-4xs.125rem2px
--spacing-3xs.25rem4px
--spacing-2xs.375rem6px
--spacing-xs.5rem8px
--spacing-sm.75rem12px

The shared table changed the gap specimen to a neutral stripe and demo blocks. Numeric values and column order stayed the same.

03

Adopted

Refined pink scale table

TokenValuePXRepresentation
--spacing-4xs.125rem2px
--spacing-3xs.25rem4px
--spacing-2xs.375rem6px
--spacing-xs.5rem8px
--spacing-sm.75rem12px

The adopted shared style restores the pink spacing specimen, gives value columns stable widths and a quieter row rhythm, and lets a narrow table scroll with keyboard focus.

Actual Guide use

The live Spacing Guide reads the complete scale from the preset with the adopted treatment.

Open /guide/spacing
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

The Guide’s pink layout demo below this table remains in place. The token values come from the active preset rather than these review samples.