Marcus Andrey Study
Ler em português Library

UX Foundations · Step 6 · 6 min read

Visual hierarchy

Before a screen looks good, it has to say what matters most. How size, contrast, position and whitespace set the order in which people see things, the squint test to check it, and how to give each screen one clear first thing.

A page sketched in blocks: a title, an image, text, a button, a card and a row of components. Point at a block and it rises above the rest, the way emphasis works. Illustration: Marcus Andrey, drawn with Hairline (MIT, Lucas Marques).

Visual design organises information before it decorates it. When someone opens a screen, their eyes go somewhere first, then somewhere second. If you don't decide that order, the screen decides it for you, usually badly. Visual hierarchy is the craft of choosing what people see first, second and third, using a handful of tools you already know: size, contrast, position and space.

What you'll be able to do after reading:

  • Explain visual hierarchy in one sentence
  • Use size, contrast, position and whitespace to set an order of importance
  • Run the squint test on any screen
  • Give each screen one clear first thing

1. What visual hierarchy is

NN/g defines it as "the organization of the design elements on the page so that the eye is guided to consume each design element in the order of intended importance" (NN/g, Gordon, Visual Hierarchy in UX: Definition, 2021). The key words are order and intended. Every screen has a hierarchy, even an ugly one. The question is whether it's the one you meant.

A screen without hierarchy feels like a wall of equal things. NN/g's article opens with exactly that: a page where everything is "relatively equal in size and color", so people don't know where to start. Hierarchy is also what Content first turns into pixels: once you know which content matters most, hierarchy makes sure people see it first.


2. Four tools: size, contrast, position, space

SizeBigger is first

The largest thing on the screen is read first.

Use about three sizes
ContrastStronger stands out

Dark on light, bold on regular, colour on grey.

If everything shouts, nothing does
PositionTop and left first

In left-to-right languages, people start top left.

Put the key thing where eyes land
SpaceRoom gives weight

An element with space around it gets attention.

Space also groups
Four tools that decide what people see first, second and third. Diagram: Marcus Andrey, CC BY 4.0.
Tool What it does Rule of thumb
Size Bigger things are seen first NN/g: "Use no more than 3 sizes" for headings, subheadings and body, and make the most important element the biggest
Contrast Stronger things stand out (dark on light, bold on regular, colour on grey) NN/g: "If everything is contrasted, then nothing stands out"
Position Where things sit changes when they're seen In left-to-right languages, people start near the top left; key content goes where eyes land
Space Room around an element gives it weight and groups it NN/g: "Let it breathe": an element with more space around it gets more attention

The size and contrast rules come from the same NN/g article. On position: NN/g's eyetracking found people often scan text-heavy pages in an F-shaped pattern, reading the first lines and the left side most, and calls that pattern "negative for users and businesses" because people miss what is on the right (NN/g, Pernice, F-Shaped Pattern of Reading on the Web, 2017). The fix is hierarchy: clear headings, the important words first, and fewer things competing.

The tools work together. A primary button is usually bigger, higher in contrast and set apart with space. A secondary link is smaller, quieter and placed after it. When two tools disagree (a small red badge next to a big black heading), people's eyes jump between them, and the screen feels noisy.


3. The squint test

NN/g describes a technique taught in design school: "squint or apply a slight blur to the design to get an idea of the conveyed groupings and hierarchy" (NN/g, 2021). When you can't read the words, only the hierarchy is left.

How to do it:

  1. Step back from the screen, or hold your phone at arm's length, and squint until the text blurs.
  2. Note what you see first, second and third.
  3. Compare with what should come first. If a decorative photo or a coloured badge wins over the main action, the hierarchy is wrong.

NN/g also warns that real content can break a good template: in their example, a strongly coloured item became the most visible thing on the page. So squint at screens with real content, not only with placeholder text.


4. Worked example: an order confirmation

A fictional food delivery app shows this after payment. Everything is 16 px, grey and evenly spaced:

Before (all equal) After (with hierarchy)
"Order #48213 received" in body text "Your order is on its way" large, at the top
Delivery time hidden in a paragraph "Arrives 19:40 to 19:55" second biggest, high contrast
Three buttons of the same style: Track, Share, Rate One primary Track order button; Share as a quiet link; Rate removed until after delivery
Order number, address and items in one block Details grouped below, smaller, with space above them

Squint at the "after" version: you see the message, then the time, then one button. That's the order a hungry person cares about.


5. One first thing per screen

A useful course rule: each screen has one primary thing, the message or action most people came for. Write it down before you design. Then check that size, contrast, position and space all point to it. If you find two "most important" things, that's a content decision to make with your team, not a visual problem to fix with more colour.


6. Common mistakes

  • Making everything bold, big or coloured, so nothing stands out.
  • Too many sizes: seven font sizes on one screen is noise, not hierarchy.
  • Several primary-looking buttons side by side.
  • Decoration (a photo, an illustration, a promo badge) winning over the task.
  • Checking hierarchy only with placeholder text.

7. Vocabulary

Term Meaning
Visual hierarchy The order in which people see the parts of a screen
Emphasis Making one element stand out from the rest
Whitespace Empty space around and between elements (it doesn't have to be white)
Squint test Blurring a screen to see its hierarchy without reading
F-shaped pattern A scanning pattern where people read the top lines and the left edge
Primary action The one action a screen most wants people to take

8. Try it (no tools needed)

  1. Take a screen you use daily (a banking home screen, a ticket purchase page). Squint at it. Write down what you see first, second and third.
  2. Write what should be first for that screen.
  3. Sketch a new version on paper using only size, contrast, position and space (no new colours, no new content).

Optional: in Figma, duplicate the frame and add a layer blur of 5 to 10 px to simulate squinting.

Reflection questions: Which tool did the original screen overuse? What did you have to make quieter to make the right thing louder?


9. If you already practise

  • In reviews, name the intended order explicitly ("1. balance, 2. pay, 3. history") and check the design against it.
  • Squint-test with the longest real content: long names, translated text, error states.
  • Treat emphasis as a budget: every new bold, colour or badge takes attention from something else.

Checklist

Learn more

Books, courses and videos to go deeper

Gestalt principles · Typography for interfaces · Content first · How people think · AI for visual design: images and video

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close