All foundations
THE FOUNDATION

Spacing

Rhythm that brings it all together.

Version 1

About spacing

Space communicates relationships. The V1 foundation uses a 4px rhythm to keep layouts consistent while giving related content a clear visual grouping.

Our spacing principles

A scale built on four

The foundation uses a 4px rhythm, with larger steps for more substantial separation. Choose the smallest value that preserves the relationship and gives content room to grow.

4pxspace.4
8pxspace.8
12pxspace.12
16pxspace.16
20pxspace.20
24pxspace.24
32pxspace.32
40pxspace.40
48pxspace.48
64pxspace.64

Spacing properties

Use the property that describes the relationship. Margin lives outside a component; padding lives inside it; gap separates siblings in a layout.