Baseline Grid
UI DesignWhat is a Baseline Grid
A baseline grid is a set of evenly spaced horizontal lines that text sits on. Each line of text has its baseline, the line most letters rest on, placed on the grid, so text across columns and components lines up.
How a Baseline Grid works
- Grid unit: Often 4 points in UI design
- Line heights: Set to multiples of the unit, such as 16, 20 or 24
- Spacing: Margins between blocks also use multiples of the unit
- Pairing: Commonly used with an 8-point grid for layout
When to use a Baseline Grid
Use a baseline grid in text-heavy designs, such as editorial pages, documentation and dashboards with side-by-side columns. It creates a steady vertical rhythm. For simple app screens, consistent line heights are often enough.
Baseline Grid on the web
CSS has no automatic baseline snapping, so designers keep line-height and spacing values on the grid. Treat the grid as a guide rather than an exact rule, and check the result in the browser.
Frequently asked questions
What is a baseline in typography?
The baseline is the invisible line that most letters sit on. Letters such as g, p and y have descenders that drop below it.
What size should a baseline grid be in UI design?
Many UI designers use a 4-point baseline grid, often together with an 8-point grid for layout. Line heights are then set to multiples of 4, such as 16, 20 or 24.
How do you use a baseline grid on the web?
Set line heights and vertical spacing to multiples of the grid unit. CSS does not snap text to a baseline grid by itself, so exact alignment depends on consistent line heights and margins.
Related terms
View all UI Design terms →8-Point Grid
The 8-point grid is a spacing method that uses multiples of 8 for the size, padding and margins of interface elements. Designers pick…
Vertical Rhythm
Vertical Rhythm is a design principle that establishes consistent spacing and alignment between elements down a page. It creates a regular…
Line Height
Line height is the vertical distance between lines of text . In print it is called leading . It has a big effect on how easy text is to…
Type Scale
A type scale is a fixed set of font sizes and styles that a product uses for all its text, from large headings to small labels. Instead of…
Typography
Typography is the choice and arrangement of type in an interface. It covers the typeface, size, weight, line height, line length and…
Grid System
A Grid System is a structure of intersecting lines that creates a framework for organizing content in a layout. It provides a systematic…
