esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

Good Layout Rules: Group, Rank, and Space Your Screen

Five simple layout rules help people find what matters on a screen, see what belongs together, and act with less effort.

In short

Good layout rules help people find what matters on a screen: group related items, show what matters most, use white space, design for scanning and line things up.

4 min readFree

What you will learn

Layout is the way items are placed and sized on a screen. A good layout tells people what belongs together, where to look first, and what to do next. In this lesson you will learn five rules: group related items, show what matters most, use empty space on purpose, design for quick scanning, and line things up.

Key words

Layout
The place, size, and order of every item on a screen.
Proximity
The way people see items that sit close together as one group. Items far apart look separate.
Gestalt principles
Rules about how people group what they see. Psychologists found them in the first half of the 1900s.
Visual hierarchy
An order of importance shown on screen, so the eye reaches the key item first, then the next one.
White space
The empty area around items. It does not have to be white.
Scanning
A fast look over a page for key words and headings, instead of reading every line.
Alignment
Items that share the same edge or line, such as a left edge for all text.

When should you add a box?

Sometimes spacing is not enough. Then you can draw a border or place a background behind a group. A boundary is a strong cue and can override closeness. Use boxes with care, because too many lines make a screen busy.

Rule 2: Show what matters most

A clear visual hierarchy guides the eye through items in order of importance. You can build that order with size, contrast, colour, and spacing.

  • Size

    Bigger items get noticed first. Make the main message the largest item, and keep only a couple of big items on one screen.

  • Contrast

    Bold type or strong colour stands out from the background. If everything is bold, nothing stands out.

  • Placement

    Where an item sits on the screen also signals how important it is.

How do you check the order with a grey test?

  1. 1

    Look for a few seconds

    Do not study it. Just look, as a new user would.

  2. 2

    Ask a question

    Can you still tell what matters most and what comes next?

If the order still reads clearly, the hierarchy is probably working.

Rule 3: Use white space on purpose

White space separates one group of items from another. A layout with equal items and no breathing room is hard to parse. When possible, use spacing alone to form groups, because it keeps the screen simpler than borders do.

Why give key items room?

Extra space around an item sets it apart as its own group. So give your most important item the most room.

Rule 4: Design for scanning

Most people do not read a web page word by word. In a 2006 eye-tracking study of 232 users, people often read in an F-shaped pattern: two horizontal sweeps across the top, then a sweep down the left side.

The F shape is a warning sign, not a target. Designers should not build pages around it. A page with clear order gives people a path, so they do not need to hunt.

  1. 1

    Put the main point first

    Place the key message near the top left, where scanning starts.

  2. 2

    Use clear headings

    Each heading should say what the part below is about.

  3. 3

    Start paragraphs strongly

    Open each paragraph with the most useful words, since many people read only the start.

Rule 5: Line things up

Alignment means items share an edge or a line. Aligned items look tidy and are easy to compare.

Common mistakes

  • Everything looks equal

    When every item has the same size, colour, and spacing, the eye has no order to follow.

  • Unrelated items clumped

    A minor button placed among main buttons can be missed, because people judge the whole group by one item.

  • Too many boxes

    Borders around every item add clutter. Use them only when spacing cannot show the group.

Quick check

Quick check

A checkout form has 12 fields in one block with no gaps. Which layout is easiest to scan?

Key takeaways

Group related items with proximity. Rank items with size, contrast, and placement. Use white space to give key items room. Design for scanning by putting the main point first. Line things up on shared edges. Check your work with a grey test, and remove any box that spacing can replace.

Sources

How is this lesson?

Last updated on 17 November 2026

Learn with me

Every lesson is free. I add new ones as I learn. Have a question, or want help with your own work? Book a short call.