← All animations

🧩 Gestalt Principles

Your eyes deliver a spray of dots, edges and colours — yet you never see dots. You see rows, faces, a triangle, one continuous line. The mind is relentlessly organising raw sensation into wholes, following a handful of grouping rules first mapped by the Gestalt psychologists. Their slogan: "the whole is other than the sum of the parts." Each demo below has a slider or toggle — flip it and feel the grouping snap from one reading to another.

1. Proximity — what's close, belongs together

The single strongest grouping cue is distance. Here is one identical grid of dots. Drag the slider to stretch the spacing horizontally vs. vertically — nothing changes but the gaps, yet the grid flips from reading as rows to reading as columns.

Tighter rows → reads as ROWS
In design: the white space between elements does the grouping work no border can. A form reads correctly when each label hugs its own field — proximity, not lines, tells you what goes with what.

2. Similarity — like goes with like

Even with spacing held perfectly even, things that look alike group together. Tint or reshape a subset of this even grid and a pattern leaps out of nowhere — colour and shape carve the field into sets that proximity alone never made.

Tinted columns pop out
In design: a shared colour, weight or shape says "these belong to one category" across a whole layout — which is why links are one colour, errors another, and a single rogue style breaks the read.

3. Closure — the mind completes the figure

This is a Kanizsa triangle. There is no triangle drawn here — only three notched "Pac-Man" discs and three bent corners. Yet you vividly see a bright white triangle with crisp edges floating on top, an illusory contour your brain invents to make the simplest whole. Drag the slider to rotate the inducers open and the triangle dissolves — proof it was never on the canvas.

Aligned → illusory triangle appears
In design: a logo only has to suggest a shape for you to complete it — think the arrow hiding in the FedEx wordmark's negative space, or a circle implied by a few arc segments.

4. Continuity (good continuation) — the eye follows the smooth path

Where two lines cross, there are really four segments meeting at a point. But you don't see four stubs — you see two whole paths that pass through each other, each one flowing smoothly. The slider crossfades to the alternative grouping (where lines kink at the junction); watch how hard your eye resists it — the smooth reading wins.

Smooth: two paths crossing
In design: aligned elements read as one connected group, and a curve that flows without a kink looks "right" — continuity is why grids, leading lines and unbroken strokes feel calm and unified.

5. Common fate — what moves together, belongs together

Motion is grouping too. Below is a field of identical dots — indistinguishable while still. Press Move a subset and a hidden group instantly separates out, purely because those dots share one common fate. Stop them and the group vanishes back into the crowd.

All still — no group visible
In design: animation that moves related items as one unit reads as a single object; it's why a card that lifts and shifts together feels solid, and why a loading shimmer sweeping in sync looks like one surface.

6. Figure & ground — and symmetry, common region

Before grouping anything, the mind must decide what is the figure (the object) and what is mere ground (the backdrop). The classic Rubin vase is bistable: see the centre as figure and it's a vase; see the outside as figure and it's two faces in profile. Toggle which region is "figure" and your perception flips. Two more cues ride along: symmetry (symmetric shapes are read as figure) and common region (drawing a box around items groups them, even across distance).

Figure: the vase (centre)
In design: good UI keeps figure/ground unambiguous (a button must read as "the object"); a box or tinted panel — common region — groups controls more powerfully than spacing alone.

7. Why this matters — emergence, and the school behind it

In 1910s–1920s Berlin, Max Wertheimer, Kurt Koffka and Wolfgang Köhler founded Gestalt psychology (German Gestalt = "form, shape, configuration"). Their core claim went against the atomism of the day: perception is not built up from independent sensations bolted together. Instead the whole has properties the parts lack — a melody stays the same melody when transposed to a new key, though every note has changed. That is emergence: structure that exists at the level of the configuration, not in any element.

The grouping laws, in one breath

Proximity (close = together), similarity (alike = together), closure (we complete partial figures), continuity (we follow smooth paths), common fate (shared motion = a group), symmetry and common region (a shared enclosure) — all in service of Prägnanz, the overarching tendency to perceive the simplest, most stable, most regular organisation available.

Where you meet them

UI & layout: spacing and grouping boxes tell users what belongs to what — far more reliably than borders or labels. Typography: line-height and letter-spacing are proximity at work; too loose and words fall apart, too tight and lines merge. Data viz: colour and shape (similarity) define series, while continuity makes a line chart read as one trend rather than a string of points. Logos & brand: closure and figure–ground let a mark imply more than it draws — the FedEx arrow, the negative-space shapes in countless wordmarks. Once you can name these laws, you stop fighting perception and start designing with it.