UI Foundations · Hierarchy
Visual hierarchy: one primary action per screen
A screen is clear when it is obvious what to look at first and what to do next. Size, weight, colour and position are the four tools.
Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor
In short
- Decide the one thing the screen is for before styling anything.
- Only one button gets the strongest style.
- Make importance visible with size, weight, colour and position, in that order.
- Squint: the most important thing should still stand out.
Hierarchy is the order in which people notice things. You do not get to choose whether a screen has one; you only choose whether it matches what matters.
Name the purpose first
Finish this sentence for the screen you are designing: "This screen exists so that someone can ___." That blank is the primary action. Everything else is support.
One strong button
Give the primary action the strongest button style, a filled button in your main colour, and give it to nothing else on that screen. The second most likely action gets a quieter style, such as an outline or a tinted background. Anything else becomes a text link.
You can see this on the first screens of Headspace in the library: "Create an account" is a filled blue button, and "Log in", directly below it, is a pale button with dark text. Both are easy to find, but there is no doubt which one the screen is asking for. The Headspace breakdown looks at those screens in detail.
The four tools
- Size. Bigger is noticed first. Use your type scale rather than inventing a size.
- Weight. Bold text for the thing that names the screen or the item; regular for the rest.
- Colour and contrast. Full-strength text for what matters, a softer grey for supporting text. Do not rely on colour alone.
- Position. Top and start of the reading direction are seen first. On phones, the bottom of the screen is easiest to reach, which is why primary buttons often live there.
The squint test
Blur your eyes, or shrink the screen to thumbnail size. If the first thing you notice is not the primary action or the title, something less important is too loud. Quieten that thing rather than making the important one louder still.