Spacing

How much room goes between things, and how tall controls are.

Scale

  • p-14px
  • p-28px
  • p-312px
  • p-416px
  • p-520px
  • p-624px
  • p-832px
  • p-1040px
  • p-1248px
  • p-1664px

Rhythm

WhereSpace
Icon and label8px (gap-2)
Cardp-5, gap-4
Between fields16px
Dialog or sheetp-6, gap-4
Between page sections32 to 48px

Control height

Tokens

12 tokens
--control-sm
32px
--control-md
40px
--control-lg
48px
--overlay-sm
384px
--overlay
480px
--overlay-lg
640px
--popover
320px
--sheet
400px
--popup-max
320px
--focus-offset
2px
--line-focus
2px
--scrollbar-thumb
var(--line-strong)

Install

For your coding agent

GitHub

Please star me pookie

141

A new design system every week

Leave your email before you copy the prompt.