Grid systems

What is a grid system in layout design?

A grid system is an invisible scaffold of columns and consistent gutters that elements align to. It turns "where should this go?" into "which columns does this span?", so a layout reads as ordered and intentional - shared edges, even rhythm - rather than a scatter of boxes each placed by eye.

Also known as: grid systems, layout grid, column grid, grid layout

Prefer to watch? Watch the recap 0:42

The demo

A little page layout. Flip it on and off the grid - and reveal the columns - to feel how much of "looks tidy" is just things sharing the same edges.

Header
Card
Card
Card
Sidebar
Main content

What this demo shows (text version)

A small page layout - header, a row of three cards, a sidebar-plus-main split, and a footer - is shown on a 12-column grid. "On the grid", every block starts and ends on shared column lines with even gutters, so edges line up and the layout feels calm and ordered. "Ignore the grid" gives each block a slightly different width and offset, and the same content suddenly feels restless and careless. A "show columns" toggle reveals the underlying column tracks.

The lesson: a grid is an invisible scaffold that creates alignment and rhythm by giving elements shared edges. A 12-column grid is popular because it divides cleanly into halves, thirds and quarters, and defining a layout in columns is also what lets it reflow responsively - 12 columns collapsing to 6 then 1. Break the grid on purpose for emphasis, never by accident.

A grid gives a layout a shared skeleton: align everything to the same columns and gutters and the page instantly feels calm, ordered and trustworthy, because edges line up and spacing is rhythmic. Ignore it and even nice components look unsettled. The grid is a constraint that does the aligning for you - and the same column structure is what makes responsive reflow tractable.

A grid works by giving elements shared edges. When blocks start and end on the same column lines and share the same gutters, the eye reads alignment as order and care; when every block is a slightly different width nudged to a slightly different position, it reads as restless and amateur - even if each piece is fine on its own.

The common system is a 12-column grid, because 12 divides neatly into halves, thirds, quarters and sixths - so the same scaffold supports a 3-up card row, a 2-up split, or a 9+3 main-and-sidebar without inventing new measurements. Gutters and margins are part of the system, not afterthoughts.

Grids are also how responsive layout stays sane: define behaviour in columns, and a 12-column desktop layout can collapse to 6 on a tablet and 1 on a phone by re-spanning the same structure. The grid is a guide, not a cage, though - break it deliberately for emphasis (a full-bleed image, an intentional offset), not by accident.