Skip to main content

Spacing & Layout

Three guides here, under Border and Spacing in the sidebar: border widths, border radii, and a spacing scale.

Border Width

These tokens control how thick your borders and outlines are. A thin 1px line reads as a subtle separator; a 4px or 8px border is more structural or attention-grabbing.

Click Default to load a standard starting scale with values at 0, 1, 2, 4, and 8 px. Each step has a slider and a live box preview so you can see the weight visually. The scale label (like 2) and the token name (like border-2) are both shown per row.


Border Radius

This controls how rounded your corners are, from sharp squares up to pills and circles.

Click Default to load the standard scale. Default values:

StepToken nameValue
smradius-sm6px
mdradius-md8px
lgradius-lg10px
xlradius-xl14px

Adjust any step with the slider or by typing a value directly.


Spacing Size

The spacing scale covers padding, margins, gaps, and any other space between elements. It uses a point-based system. Click Default to load the standard Tailwind-style scale:

TokenValue
00px
px1px
0.52px
14px
1.56px
28px
416px
624px
832px

Each step has a slider and a numeric input. Values are in px.