Spacing & sizes

Spacing follows the Tailwind scale (1 step = 4 px). Corners use radius tokens, control heights use size tokens.

Open in Figma

Spacing

Use Tailwind steps: p-2.5 = 10 px.

0.5
2 px
1
4 px
1.5
6 px
2
8 px
2.5
10 px
3
12 px
4
16 px
5
20 px
6
24 px
8
32 px

Radius

rounded-pilar-xs4 px
rounded-pilar-sm6 px
rounded-pilar-md8 px
rounded-pilar-lg10 px
rounded-pilar-xl12 px
rounded-pilar-full9999 px

Control height

Every desktop control is 28 px tall.

h-pilar-control28 px
h-pilar-control-mobile32 px
h-pilar-control-mobile-icon36 px