Sub topic 10
Assemble the High-Fidelity Mockup
This chapter assumes you have a low-fidelity wireframe, a column grid with a spacing scale, a type scale, and a palette with chosen imagery. Here you combine those inputs into one high-fidelity mockup. You will also see where the work usually goes wrong.
What a high-fidelity mockup is
A high-fidelity mockup is a static, full-color picture of the page. It uses real type, real colors, real images, and real copy. It shows what the finished homepage will look like at one screen width.
The wireframe answered "what goes where." The mockup answers "what does it look like." The structure should not change much at this stage. If you find yourself moving sections around, return to the wireframe and fix the hierarchy there. Restructuring is cheap in grayscale and expensive once styling is applied.
A mockup is not a prototype. A prototype adds interaction, such as clicks and transitions. A mockup shows a single state of each screen. You can add hover or focus states later, as separate frames.
Inputs you should have before you start
Gather these before opening a new frame. Missing inputs cause most of the rework in this phase.
| Input | Source | What it decides |
|---|---|---|
| Wireframe | Low-fidelity step | Section order and the primary call to action |
| Grid and spacing scale | Layout step | Column count, margins, gaps, and vertical rhythm |
| Type scale | Typography step | Font sizes and weights for h1, h2, body, and captions |
| Palette | Color step | Text, background, and accent colors |
| Real copy | Content inventory | Headline length, line wraps, and button labels |
| Chosen imagery | Imagery step | Hero image shape and crop |
Real copy matters more than most designers expect. A headline of three words and a headline of twelve words look different in the same box. Placeholder text such as "Lorem ipsum" hides problems that real text exposes.
Build order
Work from the outside in. Set up the frame and the structure first. Add detail last.
- Create a frame at your base width. Many teams start at 1440 px for desktop. Others start with mobile. Pick the width that matches your wireframe.
- Turn on the column grid. Use the column count and gutter you already chose.
- Place each section as a full-width band. Set the vertical padding from your spacing scale only.
- Fill in real copy and apply type styles.
- Apply color to backgrounds, text, and the accent.
- Add images last.
Each step builds on a stable layer below it. If you add images first, you will make layout decisions around a picture instead of around content.
Apply the grid and the spacing scale
The grid controls horizontal placement. The spacing scale controls vertical gaps and padding. Together they make sections feel related without any extra effort.
Use only values from the scale. If your scale is 8, 16, 24, and 40 px, then a 20 px gap is a mistake. It will look almost right, which makes it hard to spot later. Developers will either copy the odd value or round it, and neither result matches the design.
Common spacing patterns:
- Section padding uses the largest steps in the scale.
- Space between a heading and its paragraph uses a small step.
- Space between unrelated groups uses a larger step than space inside a group.
The last rule is the most useful. People read items that sit close together as related. Equal spacing everywhere makes the page look flat and makes the content harder to scan.
Apply the type scale
Assign each text role one style, and do not make up styles per section. The hero headline uses h1. Section titles use h2. Supporting text uses body.
Check three things as you apply type:
- Line length. Aim for about 45 to 75 characters per line in body text. Wider lines are tiring to read.
- Line height. Body text usually reads well at about 1.4 to 1.6 times the font size.
- Hierarchy. Squint at the page. The h1 should still be the first thing you notice.
Apply color with a clear role for each color
Give every color a role before you use it. A typical set has a text color, a background color, and one accent color.
Reserve the accent for things that need attention. The primary call to action is the main one. If links, icons, badges, and decorative lines all use the accent, the button no longer stands out.
A useful test is to count the accent color's appearances in the first screen. If there are more than two or three, the page is competing with itself.
Choose and place imagery
Imagery should support the promise in the headline. Check these points:
- The image shows something relevant to the product or audience, not generic filler.
- The subject has room to stay visible when the image is cropped at other widths.
- Text placed over an image has enough contrast across the whole text area, not only at one point.
- The image has a clear place in the hierarchy. It should not push the call to action below the first screen.
Use real image dimensions in the mockup. A 16:9 hero image reserves different space than a square one.
Keep the mockup tied to tokens
As you style, name the repeated decisions instead of picking values freehand. In the mockup tool, use shared styles or variables for colors, text, and spacing. These map directly to the design tokens that developers receive. The CSS below is the code form of the decisions the mockup uses.
:root {
--space-1: 0.5rem;
--space-2: 1rem;
--space-3: 1.5rem;
--space-4: 2.5rem;
--color-text: #1a1a1a;
--color-bg: #ffffff;
--color-accent: #0b5fff;
--font-size-body: 1rem;
--font-size-h2: 1.75rem;
--font-size-h1: 2.5rem;
}
body {
color: var(--color-text);
background: var(--color-bg);
font-size: var(--font-size-body);
}
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }If a value in the mockup has no matching token, either add a token or change the value. Do not leave one-off values in the file.
Reuse components
Build repeated elements once. The primary button, a feature card, and a testimonial card should each be a component. Edit the component, and every copy updates.
A feature section with three cards is a good test. If you must adjust each card by hand, the component is not set up correctly. Check that padding and text styles live inside the component and not on each instance.
Common mistakes
| Mistake | Why it hurts | Fix |
|---|---|---|
| Lorem ipsum copy | Hides wrapping and length problems | Use real or realistic copy |
| Off-scale spacing | Developers cannot reproduce it cleanly | Snap values to the spacing scale |
| Too many type sizes | Weakens the hierarchy | Limit text to the defined scale |
| Accent color overused | The call to action loses emphasis | Reserve the accent for key actions |
| Only the ideal state | Real data breaks the layout | Test long titles and missing images |
| Detached component copies | Edits do not propagate | Rebuild from the component |
Test the edges of your content
A mockup with perfect content hides problems. Try these cases before you call the design finished:
- A headline twice as long as planned.
- A button label in another language, which may be much longer.
- A feature card with no image.
- A testimonial with a very long quote.
If the layout breaks, you may need a rule such as a maximum line count or a minimum card height. Record that rule in the design notes so the developer knows the intent.
A final review checklist
Compare the finished mockup with the wireframe, section by section.
- The order of sections is the same.
- One primary call to action stands out in the first screen.
- All spacing values come from the scale.
- All text uses styles from the type scale.
- The accent color appears only where it should.
- Components are reused and not copied.
The next chapters take this mockup through responsive adaptation and accessibility checks. Problems found there are much easier to fix when the mockup is built on tokens and components.
Exercise
You are reviewing a mockup. The hero section has 20 px of space under the headline, but your spacing scale is 8, 16, 24, and 40 px. The accent color is also used on the nav links, three icons, and the main button. Name two problems and give one fix for each.
Show answer
Problem 1: 20 px is not on the spacing scale, so it is an off-scale value that developers cannot map to a token. Fix: change it to 16 or 24 px, whichever fits the relationship between headline and text. Problem 2: the accent color is overused, so the main button no longer stands out as the primary call to action. Fix: use the text color for the nav links and icons, and keep the accent for the button.
Exercise
Why should you build the mockup in the order frame, sections, type, color, then images, instead of starting with the hero image?
Show answer
Structure and spacing should be set on real content before decoration. If you start with the image, layout decisions are made around a picture and not around the content hierarchy. Later changes to the image then force changes to the layout.