FoundationPartial

Spacing

A 4px base for controls and page composition.

System statusPartial

Reference scale: 4, 8, 12, 16, 24, 32, 48 and 64px. Compositions adapt density to available space.

Current state

Decisions that already exist and can be observed in the product.

8px between icon and text; 12–16px between controls; 24px inside cards; 48–64px between sections.

Observed values, not official tokens yet

4px
8px
12px
16px
24px
32px
48px
64px

Current tokens

Values present today; documenting them does not make every value final.

TokenValueCurrent use
4pxComposition scale
8pxComposition scale
12pxComposition scale
16pxComposition scale
24pxComposition scale
32pxComposition scale
48pxComposition scale
64pxComposition scale

What is missing

Gaps that prevent this foundation from being a stable rule.

The scale uses Tailwind utilities; not all compositions have semantic density tokens.

Next decisions

Recommended order for turning findings into a stable foundation.

  1. 01

    Reserve room for shadows and focus; do not clip controls with overflow.