Skip to content
Perimeter Style

Spacing

The base spacing unit is 0.25rem (4px). All p-*, m-*, gap-*, w-*, h-* utilities are multiples of this unit.

StepSizeVisual
00px
0.52px
14px
1.56px
28px
2.510px
312px
3.514px
416px
520px
624px
728px
832px
936px
1040px
1144px
1248px
1456px
1664px
2080px
2496px
28112px
32128px
36144px
40160px
48192px
56224px
64256px
72288px
80320px
96384px

Usage guidance

Component padding typically uses 2–6 (8–24px) for dense UI, 8 (32px) for comfortable dialogs and cards, 10–16 (40–64px) for marketing surfaces.

Gap between elements defaults to 2–4 (8–16px) for grouped controls, 6–8 (24–32px) for sections.

Icon sizes use square-only values — 3, 4, 5, 6 (12/16/20/24px) are the most common.

Search

Search for components, templates, and more.