Home
Bookmarks
Leagues
LEARN
Courses
Career Paths
Assessments
Tutorials
Arcade
Glossary
GROW
Certifications
Log in
Glossary
Log inSign up
Courses/Introduction to Design Systems/Spacing & Sizing: The 8-Point Spatial Grid/
Exercise #7

Layout Grids vs Component Internal Spacing

It is critical to separate Layout Grid spacing (the global scaffold that positions cards on a page) from Component Spacing (the internal anatomy of a component):

  1. Layout Grid (Macro Space): Typically an 8-column or 12-column responsive grid with fluid percentage column widths, fixed gutters (e.g., 24px on desktop, 16px on mobile), and outer page margins.
  2. Component Spacing (Micro Space): The internal padding of a card (16px), the gap between an icon and button text (8px), or the space between avatar and user name (12px).

Rule of Component Isolation: A component should never declare external margins on its root container (margin-top: 24px). Spacing between components is the responsibility of the parent layout container (using CSS Flexbox gap or CSS Grid gap).

Topics

The Mathematical Foundation of the 8-Point Grid
Hard Grid vs Soft Grid Implementation
The 4-Point Micro-Grid for Fine Detailing
The Standard Spacing Token Scale
Gestalt Law of Proximity in Spatial Layout
Density Modes: Compact vs Default vs Spacious
Layout Grids vs Component Internal Spacing
Responsive Spacing & Breakpoint Tokens
Challenge: Refactoring an Inconsistent Card Layout
design

From lesson

2

Spacing & Sizing: The 8-Point Spatial Grid

Level 3 · Design Tokens & Foundations

Top contributors

Community contribution details will appear here once real learner activity is available.

Share