Chapter 24: Hierarchy, alignment and white space
Layout is the placement of elements on a page or screen and the space around them. It decides what readers look at first, which things they take to belong together and what they can safely skip. When it fails, people say the page is busy, or flat, and can rarely say why.
Visual hierarchy
Visual hierarchy is the order in which the eye takes in the parts of a layout, arranged to match their importance. Kelley Gordon of Nielsen Norman Group describes it as presenting elements so the eye reads them “in the order of intended importance”.1 On an event poster that order is usually the event’s name, then the date and place, then everything else.
The tools are few.1 Bigger things are seen sooner, and Gordon advises no more than three type sizes and two large elements on a screen. Contrast in value and saturation pulls the eye; hue alone does much less, and some readers can’t see it. Bold or italic ranks text. Space or a shared background groups things, and position matters because some parts of a page are looked at earlier than others.
The usual failure is too many signals. In Gordon’s words, “If everything is contrasted, then nothing stands out” (→ 9 Elements and principles of design). To check a hierarchy, use the squint test: squint at the layout, or blur it. Gordon blurs designs by 5, 10 and 20 px. Whatever survives heavy blur is what readers will see first, whether you meant it or not.1
Ranking text levels is typographic hierarchy (→ 19 Setting text); interfaces are covered in → 64 Visual interface design.
Visual weight
Visual weight is how strongly an element draws the eye compared with what surrounds it. Steven Bradley’s survey of design practice lists the usual sources: size, darker value, higher saturation, texture, isolation in empty space, many small elements packed together, and subjects people find interesting.2 So a small black square can balance a large pale one (→ 9 Elements and principles of design).
Rudolf Arnheim, in Art and Visual Perception, described a picture’s frame as a field of forces, with the eye drawn to the center, the corners and an optical center slightly above the geometric one.2 Treat this as craft knowledge, not measurement. When Chris McManus and colleagues tested Arnheim’s theory of balance in 2011, changing the size or grayness of shapes had no effect on where people placed a frame around them, and the authors concluded that the physical version of the theory wasn’t supported.3
Alignment and proximity
Alignment is placing elements so their edges or centers fall on shared lines. Proximity is grouping related elements by placing them close together and unrelated ones farther apart. Robin Williams made them two of the four principles in The Non-Designer’s Design Book (1994), with repetition and contrast.45
Every edge in a layout makes an implied line (→ 9 Elements and principles of design). When a heading, a paragraph, a photograph and a button share one left edge, the eye reads them as a column. When each starts a few pixels apart, the near misses look like mistakes. Use as few alignment lines as the content allows (→ 23 Grid systems). Align what the eye sees, not the bounding box: a round icon may need to cross the line slightly to look aligned with a square one (→ 10 Visual perception).
Alignment also changes where people look. In a 2017 Nielsen Norman Group eyetracking study, Kim Flaherty compared four pages whose images zigzagged left and right with aligned versions. In the zigzag versions people stumbled over decorative images on the way to the text; in the aligned ones they passed them by.6
Proximity is the Gestalt grouping principle put to work (→ 10 Visual perception). The rule is relative: the space between groups must be clearly larger than the space inside them. A form label sits nearer its own field than the field above it, and a caption nearer its picture than the next paragraph. Where all gaps are equal, nothing groups.
Scanning patterns
A scanning pattern is the path the eyes typically take across a page when people look for information instead of reading every word. The best known is the F-pattern. In 2006 Jakob Nielsen reported eyetracking 232 users on thousands of web pages. They read across the top, then across a shorter stretch lower down, then down the left edge: roughly an F.7
The F is what happens to badly structured pages, not a layout to aim for. Kara Pernice’s 2017 update says it appears when text has no headings or other cues and the reader is in a hurry. She calls it “bad for users and businesses”, because whatever sits to the right goes unseen.8 She names several other patterns:
- Layer-cake: the eyes jump from heading to heading and skip the body text between.
- Spotted: the eyes jump to words that stand out (links, numbers, bold) or match what the reader wants.
- Marking: the eyes stay in one place while the page scrolls under them, more common on phones.
- Bypassing: readers skip the first words of list items that all begin the same way.
- Commitment: highly motivated readers take in nearly everything.
In right-to-left scripts such as Arabic, the F is mirrored.8 Pernice later called the layer-cake “by far the most effective” way to scan, and it only works when headings exist and say something.9 So write headings that carry information, and start headings, paragraphs and list items with the words people are looking for, since the start of the line gets the most attention.7
Macro and micro white space
White space is the unmarked area between and around elements in a layout. It doesn’t have to be white; it’s whatever background shows through. Mark Boulton divided it in 2007 into macro white space, the space between major elements such as columns, images and margins, and micro white space, the space between small ones: lines, letters, list items, a caption and its picture.10 He also distinguished active white space, added on purpose to lead the eye or set something apart, from passive white space, which comes with margins, line spacing and type choices.
Micro white space changes reading. Boulton describes Erik Spiekermann’s work for The Economist: a typeface with more space inside the letters, set slightly smaller on more leading, which made the paper more legible and lighter in feel with no less content.10 Macro white space changes how a page is judged. Boulton set the same content as crowded direct mail and as spacious luxury: less space reads as cheap, more as expensive. A discount flyer should look like one.
Negative space is the art term for the same area, the ground behind the figure (→ 9 Elements and principles of design).
Leaving large areas empty on purpose is an old practice. Hasegawa Tōhaku’s Pine Trees, a pair of ink screens from the late 16th century in the Tokyo National Museum, leaves most of the paper bare, and the museum describes the effect as a dense mist that fills the whole picture.11

Hasegawa Tōhaku, public domain, via Wikimedia Commons.
Density
Density is how much a layout puts into a given space. Matt Ström argued in 2024 that the measure that matters is value: what a person gets from an interface divided by the time and space it takes up.12 By that measure the Bloomberg Terminal, packed with tables, charts and tickers, is efficient for traders who use it all day.
Dense isn’t the same as cluttered. Clutter is density without hierarchy, alignment or grouping. Tables and expert tools usually want more density; first-time users want less. Material Components for the web use a scale where 0 is the default and each step down removes 4 px of height, so a 36 px button is 24 px at −3. Dense settings also drop the enlarged touch targets, so keep them for screens used with a mouse.13 Density in charts is covered in → 26 Information design and data visualization.
See also
- 9 Elements and principles of design
- 10 Visual perception
- 19 Setting text
- 23 Grid systems
- 26 Information design and data visualization
- 64 Visual interface design
Sources
- Boulton, M. (2007). “Whitespace.” A List Apart 230, January 9.
- Bradley, S. (2014). “Design principles: visual weight and direction.” Smashing Magazine, December 12.
- Flaherty, K. (2017). “Zigzag image–text layouts make scanning less efficient.” Nielsen Norman Group, November 26.
- Gordon, K. (2021). “Visual hierarchy in UX: definition.” Nielsen Norman Group, January 17.
- Material Components for the Web. “Density” (
@material/density14.0.0 README). - McManus, I. C., Stöver, K., & Kim, D. (2011). “Arnheim’s Gestalt theory of visual balance: examining the compositional structure of art photographs and abstract images.” i-Perception 2(6), 615–647.
- Nielsen, J. (2006). “F-shaped pattern for reading web content.” Nielsen Norman Group, April 16.
- Pernice, K. (2017). “F-shaped pattern of reading on the web: misunderstood, but still relevant (even on mobile).” Nielsen Norman Group, November 12.
- Pernice, K. (2019). “Text scanning patterns: eyetracking evidence.” Nielsen Norman Group, August 25.
- Ström, M. (2024). “UI density.”
- Tokyo National Museum. Pine Trees, Hasegawa Tōhaku. Google Arts & Culture.
- Williams, R. (1994). The Non-Designer’s Design Book. Peachpit Press. 4th ed., 2015.
Notes
- Gordon, K. (2021). Nielsen Norman Group. https://www.nngroup.com/articles/visual-hierarchy-ux-definition/ ↩ ↩ ↩
- Bradley, S. (2014). Smashing Magazine. https://www.smashingmagazine.com/2014/12/design-principles-visual-weight-direction/ ↩ ↩
- McManus, Stöver & Kim (2011), Study 5 and general discussion. https://pmc.ncbi.nlm.nih.gov/articles/PMC3485801 ↩
- First edition, Peachpit Press, © 1994, published January 1995. https://informit.com/store/non-designers-design-book-9781566091596 ↩
- Fourth edition, Peachpit Press, 2015: chapters on proximity, alignment, repetition and contrast. https://www.pearson.com/en-us/subject-catalog/p/non-designer-s-design-book-the/P200000000691/9780133966343 ↩
- Flaherty, K. (2017). Nielsen Norman Group. https://www.nngroup.com/articles/zigzag-page-layout/ ↩
- Nielsen, J. (2006). Nielsen Norman Group. https://www.nngroup.com/articles/f-shaped-pattern-reading-web-content-discovered/ ↩ ↩
- Pernice, K. (2017). Nielsen Norman Group. https://www.nngroup.com/articles/f-shaped-pattern-reading-web-content/ ↩ ↩
- Pernice, K. (2019). Nielsen Norman Group. https://www.nngroup.com/articles/text-scanning-patterns-eyetracking/ ↩
- Boulton, M. (2007). A List Apart. https://alistapart.com/article/whitespace/ ↩ ↩
- Tokyo National Museum, Pine Trees, via Google Arts & Culture. https://artsandculture.google.com/asset/pine-trees-hasegawa-touhaku/HgFQR4hgzPorXg ↩
- Ström, M. (2024). “UI density.” https://mattstromawn.com/writing/ui-density ↩
- Material Components for the Web,
@material/densityREADME. https://cdn.jsdelivr.net/npm/@material/density@14.0.0/README.md ↩