Skip to content
BENIBIX Learn

Spacing Scale

Design📐 Design StandardsSpace and Depth

Also known as Spacing System, Space Scale, Spacing Tokens

A short fixed list of gaps, like 4, 8, 16 and 24 pixels, used for all spacing.

Think of it like

It is like a set of cups for baking. You only use the sizes in the set. So a cake comes out the same each time.

Example

Lucy spaces a card with 16 inside and 24 between cards. She never has to wonder if it should be 15 or 17.

Why it matters

Even spacing makes a product look tidy. The fixed list also ends fights over one pixel.

Definition

A spacing scale is a short, fixed list of gaps a team may use for padding and margins, like 4, 8, 16, 24, 32 and 48 pixels. Every space in the product is picked from the list instead of guessed. The steps get bigger as they go, because small gaps need fine control and large gaps do not. The scale is usually stored as spacing tokens.

Example code

css
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 16px;
  --space-4: 24px; --space-5: 32px; --space-6: 48px;
}
Every gap in the product is one of these six steps.
Small steps where fine control matters, big ones where it does not.

Common mistake

Allowing any number. Soon there are 30 slightly different gaps and nothing lines up.

Key takeaways

  1. 1
    A short list. Pick, do not guess.
  2. 2
    Grows as it goes. Fine steps when small.
  3. 3
    Stored as tokens. Shared by design and code.