How Do Gestalt Principles Decide What Users See as a Group?
Gestalt principles explain how people group what they see. Learn the original 1923 set, the 1990s additions, which one wins a clash, and real UI examples.

Gestalt principles explain how people group what they see. Learn the original 1923 set, the 1990s additions, which one wins a clash, and real UI examples.

Gestalt principles are rules of visual perception that describe how people group separate elements into wholes: items that sit close together, look alike or share a container read as one unit. Max Wertheimer set out the core list in a 1923 paper, and design systems such as Material Design 3 still write them into spacing and card rules.
For designers and developers, the principles explain why a form, a card grid or a settings page reads as organized or as noise before anyone reads a word. They also explain many "users didn't see it" bugs: the button was there, but the layout grouped it with the wrong thing.
This guide covers what the Gestalt principles are, where each one came from, which one wins when two disagree, and how to apply them in a UI.
Gestalt principles are a set of observations about how perception organizes what you see. Given a field of shapes, your visual system sorts them into groups and figures automatically, and the principles name the cues it uses: distance, likeness, enclosure, direction, connection and shared motion.
Gestalt is a German word with no direct English equivalent; Britannica lists form, shape, pattern and configuration as common translations. The school started with Wertheimer's 1912 paper on phi motion, the perception of pure motion without a moving object, which a 2012 review in Psychological Bulletin calls the start of Gestalt psychology. Wertheimer, born in Prague in 1880, worked with Kurt Koffka and Wolfgang Köhler in what became the Berlin school.
You will often read that Gestalt means "the whole is greater than the sum of its parts." Koffka rejected that phrasing, and the second part of the same Psychological Bulletin review calls it inaccurate. It quotes Koffka (1935): "The whole is something else than the sum of its parts, because summing is a meaningless procedure, whereas the whole-part relationship is meaningful."
For UI work the distinction is useful. Adding more elements does not add up to a better screen; the relationships between elements decide what the screen means.
Wertheimer's 1923 paper starts with a row of dots, and equally spaced dots read as one line. Move some dots closer together and the closer ones pair up strongly, which Wertheimer called the factor of proximity. Change the color of some dots at equal spacing and they group by similarity instead.
Above the individual factors sits the law of Prägnanz. In the review's summary, the perceptual field takes on the simplest and most encompassing structure the conditions allow. The Gestaltists saw the specific principles as expressions of Prägnanz, each one a route to that simple structure.
The principles rarely act alone, and they can contradict each other. Wertheimer's own paper includes a figure he describes as "an illustration of opposition in which similarity is victorious despite the preferential status given to proximity."
In interfaces, Nielsen Norman Group reports a usable order: a clear boundary (common region) can overpower proximity and similarity. Proximity can overpower similarity of color or shape. Similarity is often overpowered by proximity or common region, but NN/g says it "could be considered the most resilient."
Treat that order as a default to test, since a strong color contrast can still outweigh a small change in spacing.
No official list exists. The 2012 review notes that Gestalt psychology produced hundreds of proposed principles, which is why popular guides list anywhere from 6 to 12. The nine below are the ones that do real work in a UI, with where each one came from.
Principle | Origin | What it says | UI example |
|---|---|---|---|
Proximity | Wertheimer, 1923 | Close elements group | Label sits near its field |
Similarity | Wertheimer, 1923 | Alike elements group | One color for all actions |
Common fate | Wertheimer, 1923 | Elements that move together group | Selected items drag as one |
Continuity (good continuation) | Wertheimer, 1923 | The eye follows smooth lines and rows | A row of chips reads as one control |
Closure | Wertheimer, 1923 | Gaps get filled into whole shapes | An open arc reads as a ring |
Prägnanz | Wertheimer, 1923 | The simplest reading wins | Clean layouts read fastest |
Figure-ground | Rubin, 1915 | One region becomes figure, the rest ground | Dialog over a dimmed scrim |
Common region | Palmer, 1992 | Elements inside one boundary group | Cards, panels, table stripes |
Connectedness | Palmer and Rock, 1994 | Connected elements group | Stepper dots joined by a line |
Wertheimer's 1923 list named proximity, similarity, uniform density, common fate, direction, good continuation and whole properties such as closure, equilibrium and symmetry, per the review. His paper also names past experience or habit as a factor, one reason platform conventions carry so much weight.
Figure-ground comes from a different researcher. Danish psychologist Edgar Rubin defended his thesis on figure and ground in July 1915, and the British Psychological Society notes he was never happy being counted as a Gestalt psychologist. The review credits his 1915 work with the famous vase-faces figure and lists the classic figure cues as convexity, symmetry, small area and surroundedness.
Common region, which NN/g calls perhaps the most relevant later addition for UX, arrived decades after Wertheimer. The review credits it to Palmer (1992) and credits element connectedness and uniform connectedness to Palmer and Rock (1994), alongside newer findings such as synchrony. When a guide credits all of these principles to three founders in the 1920s, it squeezes seven decades of research into one.
Proximity is the strongest everyday tool because spacing is free. IBM's Carbon design system puts it plainly: "As more space is added between elements, their perceived relationship weakens."

Spacing scales turn that into tokens. Atlassian's spacing system uses an 8px base unit and a scale from 0 to 80px, with 0 to 8px meant for small, compact pieces such as the gap between an icon and its text. NN/g's example is Uber's sign-up form, where labels sit close to their text boxes, so it is clear what to type in which field.
Similarity groups by color, shape, size or style. The Google UX Design Certificate course shows a dog walker app that uses orange for every action. The tab, the selected check mark and the Next button share that color, so users read them as having the same function (Google, 18:44).
The flip side is the most common similarity bug: a heading styled like a link, or a static tag styled like a button. If two things look alike, users expect them to behave alike.
Common region groups whatever shares a boundary or background. Material 3 calls this explicit grouping, using outlines, dividers and shadows, and contrasts it with implicit grouping through spacing alone.

NN/g's examples include a Windows Print dialog that boxes printer, page range and copies, and a Food Network tablet app that fixed its recipe grid by moving to cards.
On r/UXDesign, the top-voted post for "gestalt principles" shows the risk: a restaurant kids menu whose heart-shaped border sits next to the drinks list, so replies joke about ordering a margarita with the kids meal. One reply suggests giving each kids item an extra 16px of space.
Figure-ground decides what is in front. Modal patterns rely on it: Material 3 dialogs dim the content behind them with a temporary scrim to focus attention on the dialog. Contrast plays the same role at a smaller scale, which is why the WCAG contrast rules and figure-ground tend to fail together.
Continuity makes the eye follow rows, columns and lines. Material 3 recommends placing related elements in a row or column and uses a row of chips to signal a single, unified control.
Closure lets you draw less: an outline icon with gaps, or a progress ring drawn as an open arc, still reads as a complete shape. Common fate appears whenever things move. Select three files and drag them, and they read as one group because they travel together.
Grouping lets users skip whole regions they don't need. NN/g notes that users scan quickly and are task-focused, so obvious groups help them find the controls for the task at hand.
Knowing that proximity groups on its own lets you delete borders. Material 3 tells designers not to force content into cards when spacing, headlines or dividers would create a simpler hierarchy.
Spacing tokens, card variants and divider rules are Gestalt principles written down. Material 3 has three card variants (elevated, filled and outlined) for different levels of separation, and its divider guidance uses full-width dividers between unrelated sections and inset dividers between related items. Apple's Layout guidelines ask for the same thing: group related items with negative space, container shapes or separator lines.
The UI Things profiles of Material Design, IBM Carbon, Atlassian and Apple's HIG show how each system documents the rest of its foundations.
Similarity and figure-ground explain why color needs a job in a UI. The color theory guide covers how roles and lightness steps turn those principles into a palette.
Gestalt research tells you how people tend to group a display, not which grouping your product needs. Decide the information structure first, then use the principles to make it visible.
Every border, card and divider adds visual weight. NN/g calls the filter boxes on Backcountry.com's mobile menu unnecessary, because proximity was already enough, and Material warns that too many divider lines make an interface look cluttered. Start with spacing and add a container only when spacing fails.
A responsive layout can change grouping without anyone noticing. When columns stack on a phone, a label can end up closer to the next field than to its own. Check grouping at every breakpoint, not only in the desktop mockup.
Because no canonical list exists, guides disagree on whether symmetry, emergence or invariance count. Pick the handful your team uses, name them in your design system docs the way Material's spacing page names rhythm, similarity and continuity, and use the same names in reviews.

Color theory for UI work: the color wheel and its schemes, why OKLCH beats HSL, WCAG contrast as lightness steps, and how Material 3 names 26 color roles.

Adobe XD is in maintenance mode. This hub covers official File > Get UI Kits and UI Things collections for free kits, websites, dashboards, and travel.

WCAG 2.2 for designers: what A, AA and AAA mean, the 55 criteria behind an AA claim, the 9 new rules in 2.2, and the WCAG 3 draft heading into 2027.