Sub topic 10
Combining the Four Principles in One Layout
This chapter assumes you know basic typography vocabulary (typeface, size, weight, line spacing). It also assumes you can build simple layouts in a tool such as Figma or Canva, and that you have met each principle on its own in earlier chapters. Here you apply all four to one layout and see how they support each other.
Why the principles work as a set
Each principle fixes a different problem. Proximity groups related items. Alignment connects items to a shared edge. Contrast makes differences obvious. Repetition makes the same kind of thing look the same.
They also depend on each other. Spacing groups items only if the items line up. Contrast only reads as hierarchy if repeated styles are applied consistently. When one principle is missing, the others have to work harder.
A worked example: an event flyer
Say you have a flyer for a community workshop. The content is a title, a date and place, a short description, three speaker names with roles, and a sign-up button. A first draft usually centers everything and gives every line the same size and spacing. It looks like one block of text.
Apply the principles in this order.
- Proximity. Sort the content into groups: the title, the event details, the speakers, and the call to action. Put small gaps inside a group and large gaps between groups.
- Alignment. Pick one left edge for all groups. Place the speakers on a shared grid so names and roles line up.
- Contrast. Choose one dominant element, the title, and make it much larger and bolder than the rest. Give the button a strong color.
- Repetition. Give all three speakers the same style. Reuse the accent color for the button and for small details such as the date label.
The same decisions in code
A web version of the flyer shows each principle as a visible choice. Colors and spacing are defined once, which is repetition. The grid gives a shared edge, which is alignment.
:root {
--color-text: #1a1a1a;
--color-accent: #0b5fff;
--space-sm: 8px;
--space-md: 16px;
--space-lg: 48px;
}
.flyer {
display: grid;
gap: var(--space-lg);
max-width: 40rem;
padding: var(--space-lg);
color: var(--color-text);
font-family: system-ui, sans-serif;
}
.flyer h1 {
margin: 0;
font-size: 3rem;
font-weight: 800;
}
.group {
display: grid;
gap: var(--space-sm);
text-align: left;
}
.speakers {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: var(--space-md);
}
.speaker {
display: grid;
gap: var(--space-sm);
}
.speaker strong {
font-weight: 700;
}
.cta {
justify-self: start;
padding: var(--space-sm) var(--space-md);
background: var(--color-accent);
color: #ffffff;
font-weight: 700;
}Here is how each principle shows up in the code:
| Principle | Where it appears |
|---|---|
| Proximity | `gap: var(--space-sm)` inside `.group`, `gap: var(--space-lg)` between groups |
| Alignment | One grid, `text-align: left`, and `justify-self: start` on the button |
| Contrast | `3rem` and weight 800 for the title against normal body text |
| Repetition | Shared variables and one `.speaker` style used three times |
The 8px inside a group and the 48px between groups form a ratio of 6 to 1. A ratio that large makes the grouping obvious.
Checking that the principles agree
Combining principles can create conflicts. Watch for these.
- Contrast against repetition. If every element is emphasized, nothing stands out. Reserve the accent color for the one or two things that matter most.
- Proximity against alignment. Centering a short caption under a left-aligned image breaks the shared edge. Align it to the same edge.
- Repetition against hierarchy. Using one style for all text keeps the layout consistent but removes the hierarchy. Repeat styles by role, not across all roles.
A quick test is to squint at the layout, or blur it. You should still see the groups, the single dominant element, and the shared edges.
Common errors in combined layouts
- Adding many type sizes. Two or three sizes with clear steps are enough.
- Using gaps that are almost equal, such as 14px and 18px. The eye cannot read the difference, so use clearly different steps.
- Aligning most elements but leaving one slightly off. A near miss looks like a mistake, not a choice.
- Changing the accent color between sections. This breaks repetition.
Exercise
In the flyer, the date label and the sign-up button both use the accent color, and the title is much larger than everything else. Name the principle each choice applies, and say what would go wrong if the title were the same size as the body text.
Show answer
Using the accent color on both the label and the button applies repetition, because the same color links related details. Making the title much larger applies contrast. If the title matched the body text, no element would dominate, so the reader would have no clear starting point and the hierarchy would disappear.
Exercise
A layout has 12px between a heading and its paragraph, and 14px between that paragraph and the next section's heading. Which principle is weak, and how would you fix it?
Show answer
Proximity is weak. The gaps are almost equal, so the heading does not look attached to its own paragraph. Reduce the heading-to-paragraph gap to about 8px and increase the gap before the next section to about 32px or more.