Sub topic 7
The Z-pattern: scanning sparse pages
This chapter assumes you know basic HTML and CSS. It also assumes you know the usual page parts: header, navigation, hero section and call to action (CTA). You should already know why people scan instead of read, and what the F-pattern is. Here you will learn what the Z-pattern is, where it applies, and where it stops being useful.
What the Z-pattern is
The Z-pattern is a layout heuristic. A heuristic is a rule of thumb, not a law. It describes a path the eye tends to follow on a page with little text and a few clear focal points.
The path has four stops:
- Top left, where the eye starts. This is usually the logo.
- Top right, reached by a sweep along the top. This is usually the navigation.
- Bottom left, reached by a diagonal back across the page. This is usually the main message and image.
- Bottom right, reached by a final sweep along the bottom. This is the natural place for the main call to action.
Where it comes from
The Z-pattern comes from print design, not from web eye-tracking studies. It is closely related to the Gutenberg diagram. That diagram divides a page into four corners. The eye moves from the top left to the bottom right, and it tends to rest on the bottom right at the end. Designers borrowed this idea for web pages.
The F-pattern was observed in eye-tracking studies of text-heavy pages. The Z-pattern was not. Treat it as a useful design guide, not as measured fact.
When it fits
The Z-pattern is useful when the page is sparse. A sparse page has few elements, a lot of whitespace, and one goal. Typical examples:
- A landing page for a single product.
- A sign-up or download page.
- An event or campaign page.
- A simple home page with one main action.
If a page has long paragraphs, many headings or dense lists, readers scan down the left edge instead. That is F-pattern territory, and the Z-pattern guidance does not apply.
Building a Z-pattern layout
Place content at the four stops, and use size, contrast and whitespace to make the path obvious. The page below follows the Z. The logo is top left and the navigation top right. The headline and image form the diagonal through the hero. The CTA sits bottom right.
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<style>
.page { max-width: 60rem; margin: 0 auto; padding: 1rem; }
.top, .bottom { display: flex; justify-content: space-between; align-items: center; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 4rem 0; }
.cta { padding: 0.75rem 1.5rem; background: #0b5fff; color: #fff; text-decoration: none; border-radius: 0.25rem; }
</style>
</head>
<body>
<div class='page'>
<header class='top'>
<a href='/'>Acme</a>
<nav><a href='/pricing'>Pricing</a> <a href='/login'>Log in</a></nav>
</header>
<main class='hero'>
<div>
<h1>Plan projects in minutes</h1>
<p>One shared board for tasks, deadlines and files.</p>
</div>
<img src='board.png' alt='Project board with three columns of tasks'>
</main>
<footer class='bottom'>
<p>Used by small teams worldwide</p>
<a class='cta' href='/signup'>Start free trial</a>
</footer>
</div>
</body>
</html>Here is how each part supports the path:
.topusesjustify-content: space-between. This pushes the logo to the far left and the navigation to the far right, which sets the two top stops..herouses a two-column grid withalign-items: center. The headline and image sit on either side of the middle, which forms the diagonal..bottomrepeats the left and right split. The supporting line is on the left, and the CTA is on the right where the Z ends..ctahas a solid, high-contrast background. Contrast is what makes the final stop stand out from the plain text around it.
Common errors
- Too many competing elements. Extra banners, badges and links pull the eye off the path. The Z only works when the page is sparse.
- A weak final stop. If the CTA is small, low in contrast or buried among other links, the path ends with nothing to act on.
- Treating the Z as a rule. Users with different goals, in right-to-left languages, or on phones may not follow it. A narrow phone screen usually stacks everything in one column, so the diagonal disappears.
- Skipping the check. The pattern is a starting guess. Test the layout with real users or heatmap data before you trust it.
Exercise
A page has a logo, a navigation bar, a hero with a headline and image, and one "Start free trial" button. Where does the Z-pattern suggest you place the button, and why does that placement need strong contrast?
Show answer
Place it at the bottom right, where the Z-shaped scan tends to end. Strong contrast makes it stand out from the surrounding text, so the final stop of the path is a clear action.
Exercise
Why is the Z-pattern a poor guide for a long documentation page?
Show answer
The page is dense with text, headings and lists. Readers tend to scan down the left edge, as in the F-pattern, so the sweep across the top and the diagonal to the bottom corner do not describe how they move.