Back to design system

Structure

07 / 13

Spacing

Spacing shows relationships: things close together belong together, and a wide gap means a new topic. Every gap comes from the same scale.

Scale

The line in each row is drawn at its real size.

  • 12px

    Between items in a tight list

  • 20px

    From a section label to the note below it

  • 32px

    From a title to its opening paragraph

  • 48px

    From the page header to the first content block

  • 80px

    Between the left and right columns on desktop

  • 96px

    Above and below a section on phones

  • 128px

    Above and below a section on wider screens

Principles

How to pick a gap when laying out a new page.

  1. 01

    Every gap is a multiple of 4px.

  2. 02

    Gaps grow with their level: between items, between blocks, then between sections.

  3. 03

    Groups are separated by space and thin rules, not boxes or shadows.

  4. 04

    When torn between two steps, pick the roomier one.