Home › Layout & Spacing › Baseline grid
Baseline grid
Invisible horizontal lines that elements snap to for clean alignment.
A baseline grid is a set of equally-spaced horizontal lines running down the page. Every text line, image, and component aligns to one of these lines. The page feels neat and predictable.
Most teams pick an 8-pixel baseline (sometimes 4 or 16). Spacing, padding, and component heights all become multiples of that number — 8, 16, 24, 32. The math stays simple, and pixel-perfect alignment becomes automatic.
A baseline grid pairs naturally with vertical rhythm. Once your text and components share the same rhythm, scrolling through the page feels calm instead of chaotic.