2026-11-17·by Sijie Wang

crap-principles

CRAP — Contrast, Repetition, Alignment, and Proximity — four principles that build hierarchy, unity, order, and grouping, with a good and bad example for each.

CRAP: Contrast, Repetition, Alignment, Proximity

CRAP is a set of four visual design principles from Robin Williams' book The Non-Designer's Design Book: Contrast, Repetition, Alignment, and Proximity. Each principle does a different job. Contrast builds hierarchy, repetition builds unity, alignment builds order, and proximity builds grouping. Together they explain why a page looks organized or chaotic before a reader reads a single word.

Contrast

Contrast means things that are different must look different enough. If two elements do different jobs, the eye must be able to tell them apart at a glance. The mechanism is difference in visual weight: size, darkness, color, or thickness. A strong difference creates a clear first thing to look at, which is how contrast builds hierarchy — the most important element is the most visually dominant, and everything else steps down from it.

GOOD: the primary action is a solid black button and the secondary action is plain text. The difference in weight is unmistakable, so the eye goes to the primary action first and the secondary action reads as a quiet alternative.

BAD: the primary and secondary buttons are nearly identical in weight — same size, same fill, almost the same color. The reader has to stop and read both labels to work out which one matters, so the hierarchy the designer intended never reaches the eye.

Repetition

Repetition means reusing the same visual elements throughout a design: the same button style, the same heading treatment, the same spacing. The mechanism is pattern recognition — once the eye learns what a button looks like, it recognizes every later button without thinking. That repeated pattern is what builds unity: scattered parts start to feel like one coherent product instead of a pile of unrelated screens.

GOOD: one button style is reused across the whole reading page. Every button looks like it belongs to the same family, so the page feels consistent and professional, and the reader never has to relearn what is clickable.

BAD: five different button styles appear on one screen — rounded here, square there, outlined, filled, underlined. Each style looks like it came from a different product, so the page feels assembled from spare parts and the reader cannot trust that similar-looking things do similar jobs.

Alignment

Alignment means lining elements up on shared edges instead of scattering them. Nothing on the page should be placed arbitrarily; every element should have a visual connection to another element. The mechanism is shared edges: when edges line up, the eye reads the elements as one ordered structure instead of many independent objects. That shared structure is what builds order.

GOOD: labels and controls share one left edge, forming a clean vertical line down the page. The eye can scan straight down the line and compare items without hunting.

BAD: one block is centered, the next is left-aligned, a third is pushed a few pixels off for no reason, and nothing lines up with anything else. Each element looks placed by accident, so the page feels disorganized even though all the content is present.

Proximity

Proximity means related things go together and unrelated things stay apart. Elements placed close together are read as one group; elements placed far apart are read as separate groups. The mechanism is spatial grouping: the eye groups by distance before it reads any label, so spacing alone can say "these belong together" or "these are different things." That is how proximity builds grouping.

GOOD: lookup actions are grouped right next to the word they act on. The reader sees the word and its actions as one unit and never wonders which word a button belongs to.

BAD: the delete button sits closer to the save button than save sits to its own label. Distance groups delete with save, so the reader's eye reads them as a pair — and a destructive action looks like part of the safe action's group.

Single-channel layering

Use only one means to pull hierarchy at a time. If an element is already the biggest, do not also make it the boldest, the reddest, and the most saturated. The mechanism is signal clarity: each visual channel — size, weight, color — is one signal, and stacking several signals on the same element makes the hierarchy noisy instead of clearer. One strong difference per level is enough; save the other channels for the next level down.

Scope: this is a restraint habit for typographic hierarchy, not one of Williams' four principles. It does not apply to meaning-bearing distinctions: WCAG 1.4.1 forbids color as the only channel, so an error state, a selected tab, or a required field should carry two channels (color plus an icon, text, or weight). Redundancy for meaning is good; stacking for loudness is not.

GOOD: the page title is larger than everything else, while its color and weight stay the same as the body text. Size alone carries the hierarchy, so the title reads as "first" without shouting.

BAD: the title is larger, bolder, red, underlined, and shadowed all at once. Every channel fires at the same time, so the reader cannot tell which difference matters, and the second-level heading has no channel left to distinguish itself with.

How the four work together

Lucerna examples

In Lucerna, the four principles show up in ordinary reading-page decisions. Primary and secondary actions are distinguished by contrast, so the reader knows at a glance which action is the main one. Button styles are reused across the page, so the interface feels like one product rather than a collection of one-off controls. Text and controls are aligned on shared edges, so the page scans cleanly. Related controls are grouped by proximity, so the reader sees which controls belong to which piece of content without having to work it out.

The test for any page is simple: cover the words and look only at shapes and spacing. If the hierarchy, the groups, and the order are still visible, the four principles are doing their job.

about this entry

One of sijie's wiki entries. The AI on this site is grounded in the same corpus and answers in sijie's voice, with citations back to entries like this one — answering costs sijie money, so it waits behind a code: enter an access code →

crap-principles — Sijie Wang