What is a grid system in UX?
A grid system in UX is an invisible framework of columns, gutters and margins that helps designers align and space elements consistently across a layout.
also calledlayout grid · column grid · 12-column grid
Look at any tidy page and you will find an unseen skeleton holding it together: edges that line up, blocks that share widths, gaps that repeat. That skeleton is the grid. You rarely notice a good one, but you feel the mess when it is missing.
- A grid is a set of columns, gutters and margins that organizes a layout.
- It saves decisions and makes pages feel orderly and consistent.
- Pick column counts per screen size and base spacing on a repeatable scale.
- Break the grid only on purpose, so the break reads as intentional.
The parts of a grid
Three pieces do most of the work. Columns are the vertical bands that content sits in. Gutters are the gaps between columns, which keep text and images from touching. Margins are the space between the grid and the edge of the screen.
You can add rows and a baseline grid for vertical rhythm, which keeps lines of text aligned across columns. Together they give you a set of rules that answer the daily question of where something goes and how wide it should be.
Why designers bother with grids
Grids save decisions. Instead of nudging a card three pixels to the left because it looks right, you snap it to a column and move on. The result is a layout that feels calm and organized, and a team that can build pages in the same way without long explanations.
They also help developers. A 12-column layout, for example, divides neatly into halves, thirds, quarters and sixths, which makes flexible layouts easy to describe in code and easy to rearrange when the screen changes size.
Setting one up, step by step
Start with the content, not the number of columns. Then:
- Choose the screen widths you will design for, such as mobile, tablet and desktop.
- Pick a column count for each. Four columns on a phone and twelve on a desktop is a common pattern.
- Set gutters and margins from a spacing scale, such as multiples of 8, so they fit the rest of your spacing.
- Decide how elements span columns: a card might take all four on a phone and three of twelve on a desktop.
- Save it as a layout style or component in your design tool so the team uses the same one.
As a rule of thumb, avoid fixed pixel widths and think in proportions, since the grid has to stretch.
Fixed, fluid and the mistakes to avoid
A fixed grid keeps columns at set widths and centers the page. A fluid grid scales columns with the screen. Most modern work blends the two, with a maximum width so lines of text do not become unreadable on large monitors.
Common mistakes include using a grid so rigidly that every page looks identical, forgetting that text needs a comfortable line length, and designing at one width and hoping the rest will sort itself out. Another is ignoring the grid in the one place that matters, such as a hero image that wanders off the alignment.
Breaking the grid on purpose
Editorial and brand sites often break the grid deliberately: an image bleeding off the page, a headline that overlaps a photo. It works because the grid is still there, and the break stands out against it. Learn the rules first, then break them with a reason.
Grid system: your questions, answered
What is a grid system in UX design?
It is a structure of columns, gutters and margins used to place content consistently on a page or screen. The grid is mostly invisible to users, but it creates alignment, rhythm and order that make interfaces easier to scan.
How many columns should a grid have?
Twelve is the classic desktop choice because it divides evenly into two, three, four and six parts. Many products use four columns on phones and eight on tablets. Choose what suits your content, not what is popular.
What is the difference between a gutter and a margin?
A gutter is the space between columns. A margin is the space between the outer columns and the edge of the screen. Both are part of the grid and are usually set to consistent values.
Do I need a grid for every design?
Almost always, even if it is simple. A grid helps with alignment and speeds up work. For very small or purely illustrative layouts you can be looser, but most digital products benefit from one.
What is a baseline grid?
It is a set of evenly spaced horizontal lines that text sits on, so lines of type align across columns. It makes long pages feel steadier, and is common in editorial and content-heavy designs.
More quick answers
What is the 8-point grid?
It is a spacing approach where sizes and gaps are multiples of 8 pixels. It keeps spacing consistent and scales well across screens and devices.
What is the difference between a grid and a layout?
The grid is the underlying structure. The layout is how you arrange the actual content within it.
How do grids work with responsive design?
The number of columns and the margins change at set breakpoints, so the same content rearranges to fit phones, tablets and desktops.
Can I use a grid in Figma?
Yes. Figma lets you add layout grids to frames, with column counts, gutters and margins, and save them as styles for reuse.
How do grids relate to white space?
Grids set where space appears. Consistent gutters and margins make the white space feel deliberate rather than leftover.
Responsive design in UX is an approach where a website or app adapts its layout and content automatically to fit any screen size, from phone to desktop.
White space in UX is the empty area around and between interface elements, which gives content room to breathe and makes a screen easier to read and scan.
Visual design in UX is the craft of shaping how a product looks, using color, type, imagery, layout and spacing to make it clear, usable and appealing.
Typography in UX is the choice and arrangement of typefaces, sizes, spacing and weights that make text readable and give an interface its character.
User interface design is the craft of shaping the screens, controls and visual elements people use to interact with a digital product, clearly and easily.
A design system in UX is a shared collection of reusable components, design tokens, guidelines and code that keeps a product consistent across teams.
Found this useful? A GitHub star helps other designers find it.