Spacing scale
A single 4px-based rhythm — --ax-space-1 through --ax-space-20 — drives every gap, pad and margin.
--ax-space-N
base · 4px
The scale
Geometric-ish steps tuned for dense admin UIs. Click any row to copy its token.
Nesting
Padding in practice
How the steps nest in a real card.
padding: --ax-space-6
padding: --ax-space-4
padding: --ax-space-2
Step down one notch per nesting level — 6 → 4 → 2 — to keep visual rhythm tight without re-tuning per component.
Flex / grid gap
Gaps you can feel
Same six tiles, four different gap tokens.
.ax-stack
Vertical rhythm
.ax-stack flows children with a token gap — override via --ax-gap.
--ax-gap: --ax-space-2 (tight)
--ax-gap: --ax-space-6 (roomy)
Snap to the scale