DesignDojo
1.3-composition · 02-spacing-system

Estimated time: 8 min

4px / 8px / 16px / 24px / 32px
4/8 spacing rhythm

Use a Small Fixed Scale

Pick a handful of gap steps and reuse them everywhere. A consistent rhythm is easier to scan than custom values per section.

Interactive Spacing Control

Toggle gap presets and compare rhythm:

Separate Inside vs Outside Gaps

Use smaller spacing inside a group and larger spacing between groups. This keeps relationships obvious without extra borders.

Keep related items on tight internal gaps and sections on larger external gaps.

Exercise

Audit one screen using only scale values 8, 16, and 24:

  • Replace one odd gap like 13px or 19px.
  • Tighten internal spacing inside a component.
  • Increase one section-level outer gap.
Spacing Scale

A fixed set of spacing tokens used consistently to define rhythm and grouping.

Progress saves locally on this device.

Learning Loop

Lock this lesson in with a fast cycle: quiz the module, drill flashcards, then run the daily challenge.

Take Module QuizPractice FlashcardsRun Daily Challenge

Next Lesson

Responsive Thinking