Skip to content
GitHub
Sections

Reference · Things to avoid

Spacing that does not grow outward

Forbidden
The same gap between a card's heading and its body, between cards, and between page sections
Instead
An interface is rectangles inside rectangles. Spacing starts small at the innermost level and increases as you move outward:

What this rule looks like

Forbidden
Instead

Why this rule

LevelOption
Text inside a componentXS (8)
Component padding, content within a sectionM (24)
Between components, grid guttersL (32)
Between page sectionsXXL (80)

--spacing-group → --spacing-card → --grid-gutter → --spacing-section already encode this per mode. When in doubt between two steps, take the larger one — tight spacing hides grouping and hierarchy, and generous spacing is the cheapest improvement available to any interface.

Kind
Rule
Section
Things to avoid
Group
Spacing and layout
Bucket
judgment
Severity
note
Since
v0.1.0

Read as plain text