Semantic spacing

Border, radius, gap, and padding: the spatial contract

Border controls stroke thickness. Radius sets corner rounding, from subtle (2px) to full pill shapes. Gap is the space between sibling elements like buttons in a group or items in a list. Padding is the breathing room inside a container, like the space between a card edge and its content.

Above 768px every step renders at its full size.

Border

0251px
0502px

Radius

0502px
1004px
2008px
30012px
40016px
60024px
120048px
Pill999px

Gap

0502px
1004px
2008px
30012px
40016px
50020px
100040px
150060px
200080px
3000120px

Padding

0502px
1004px
1506px
2008px
30012px
40016px
50020px
100040px
150060px