Whitespace (Negative Space)
Intentional empty space between and around UI elements that establishes visual grouping, readability, hierarchy, and focus
Table of Contents
Structure Diagram
Inside components · Readability
- ScopeLine-height, letter spacing, padding
- Primary RolePrevents visual crowding & improves legibility
- GuidelineBody line-height 1.5–1.7, 4–12px gaps
Between sections · Structure & focus
- ScopeSection margins, page gutters, grid gaps
- Primary RoleSeparates topics without heavy borders
- Guideline48–96px section gaps, outer > inner
What is Whitespace (Negative Space)?
Intentional empty space between and around UI elements that establishes visual grouping, readability, hierarchy, and focus. It is a core concept in Layout & Responsive within UI / UX.
Core Principles
Whitespace (Negative Space) is not wasted canvas—it is an active structural tool that communicates relationships between elements. Guided by the Gestalt Law of Proximity, items placed close together read as a cohesive group, while generous gaps separate distinct sections without heavy borders.
Effective layouts balance micro whitespace (line-height, letter spacing, button padding) for effortless reading with macro whitespace (section margins, page gutters) for clear structural pacing.
Practical Takeaways
- Keep outer spacing larger than inner spacing: If elements inside a card sit 12px apart, separate adjacent cards by 16–24px and major sections by 48px+ so ownership is immediately obvious.
- Reach for space before borders: Wrapping every group in boxes and dividers creates visual clutter. Increase spacing contrast first, adding subtle lines only where grouping remains ambiguous.
- Tune density to context: Editorial and marketing pages thrive on generous macro whitespace, whereas trading terminals and admin tables rely on crisp, consistent compact spacing (4px/8px scale).
Notable Examples
- Apple product launches: Generous macro whitespace isolating a single headline and product visual for maximum focus.
- Linear and Notion workspaces: Minimalist productivity interfaces that communicate hierarchy through disciplined spacing rather than heavy card borders.
- Long-form reading layouts: Constraining measure to 65–75 characters with comfortable side margins and 1.6+ line-height.