UX & UI

Gestalt Principles in UI Design: How Users Really See Layouts

The Gestalt principles explain how the brain groups visual elements into wholes. Here's how proximity, similarity, closure and more shape every UI layout.

// DD EditorialJun 16, 202610 min read

The Gestalt principles come from early twentieth-century psychology and a simple, profound idea: the human mind perceives whole patterns before it perceives individual parts. We do not see a scatter of dots, we see a shape, and we do it automatically, instantly, and largely beyond conscious control. For interface designers this is gold, because it means layout itself communicates meaning before a user reads a word. Here are the core principles and how each one shows up in the screens you build.

Proximity

The Law of Proximity states that elements placed close together are perceived as belonging to one group, while space between them signals separation. This is one of the most powerful grouping cues the brain has, and it often overrides borders and color. Distance, not decoration, is the primary way we tell the eye what relates to what.

In a form, pulling each label tight against its own input and leaving generous space between fields makes the pairings unmistakable. The same effect groups a set of related toolbar icons and separates them from an unrelated cluster using nothing but a gap.

Apply it: use spacing as your first grouping tool, tightening related items and widening the gaps between distinct groups.

Similarity

The Law of Similarity holds that elements sharing visual characteristics, color, shape, size, or texture, are perceived as related even when they are physically separated. The brain links things that look alike, building categories from appearance alone. This lets you signal sameness across a layout without drawing explicit connections.

All clickable links rendered in the same accent color read as a single class of action, so users learn the pattern once. A pricing table that styles every primary button identically tells the eye instantly which elements perform the same kind of job.

Apply it: give elements that do the same thing the same look, and make elements that differ in function look visibly different.

Continuity

The Law of Continuity says the eye prefers to follow smooth, continuous paths and perceives elements arranged along a line or curve as related and as belonging to the same flow. We naturally trace the simplest route through a composition rather than jumping abruptly between points.

A carousel of thumbnails aligned in a clean horizontal row invites the eye to scan along it and implies more content continues beyond the edge. Aligning form fields and list items to a shared vertical axis lets the gaze flow straight down without interruption.

The eye, once set on a path, wants to keep going, so a broken or jagged line feels like an error even when nothing is technically wrong.

Apply it: arrange related items along a clear line or curve so the eye can follow them as a single continuous group.

Closure

The Law of Closure describes the mind’s tendency to complete incomplete shapes, perceiving a whole figure even when parts of its outline are missing. We fill in the gaps automatically, which is why a few well-placed fragments can suggest an entire form. This lets designs imply structure without drawing every line.

A circular progress ring read as a complete circle, an icon built from suggestive negative space, or a card group bounded by alignment rather than a full border all rely on closure. The famous logos that hint at a shape with a handful of strokes work because the viewer’s brain supplies the rest.

Apply it: trust the user to complete simple shapes, so you can imply containers and forms with fragments rather than heavy outlines.

Figure and ground

The Figure and Ground principle states that the eye separates a scene into a focal object, the figure, and the background behind it, the ground. This distinction is fundamental to perception and lets users instantly tell foreground from background. Designs that blur the separation feel confusing and hard to parse.

A modal dialog brought forward with a shadow over a dimmed, blurred backdrop reads clearly as the active layer demanding attention. Sufficient contrast between text and its background is, at heart, a figure-ground concern that determines whether content is even legible.

Apply it: keep a clear visual separation between foreground content and its background using contrast, shadow, or overlay.

Common region

The Common Region principle holds that elements enclosed within a shared boundary are perceived as a group, even if they are otherwise dissimilar or somewhat far apart. A defined region, a card, a panel, a colored block, is a strong grouping signal that can override proximity. Drawing a border around items unites them.

A settings page that places each category of options inside its own bordered card makes the structure obvious at a glance. Grouping a set of stats inside a single shaded panel tells the user these numbers belong together as one set.

Apply it: enclose items that belong together in a shared container when spacing alone is not enough to make the grouping clear.

Common fate

The Common Fate principle states that elements moving in the same direction, or changing together, are perceived as a related group. Motion is one of the most attention-grabbing cues we have, and shared motion implies shared purpose. This principle becomes especially relevant in animated and interactive interfaces.

When a list of items slides in together as a screen loads, the eye reads them as one collection arriving as a unit. A set of cards that expand in unison on hover, or notifications that stack and shift together, signal their relationship through coordinated movement.

Apply it: animate related elements together so their shared motion reinforces that they belong to the same group.

Symmetry and order

The Symmetry and Order principle, sometimes tied to the broader idea of good form, holds that the mind seeks balanced, orderly arrangements and perceives symmetrical elements as a unified, stable whole. Symmetry feels calm and trustworthy, while imbalance creates tension the eye works to resolve.

A two-column layout with mirrored, balanced content feels composed and intentional, and centered, symmetrical hero sections convey stability and confidence. Even asymmetric layouts rely on a sense of underlying balance, distributing visual weight so the composition does not tip.

Apply it: balance visual weight across your layout so the result feels stable, using symmetry deliberately where calm and trust matter.

Prägnanz

Prägnanz, often translated as the law of good figure or the law of simplicity, is the overarching Gestalt principle: the mind interprets ambiguous or complex images in the simplest, most stable form possible. We default to the easiest reading available, preferring clean, regular shapes over complicated ones. In a sense, every other principle is a tool the brain uses to reach this simplicity.

This is why a cluttered, irregular interface feels stressful, the eye cannot settle on a simple interpretation, while a clean grid of uniform cards is restful and immediately understood. Reducing a complex dataset to a clear chart works because it offers the mind a simpler stable form than the raw numbers.

Apply it: reduce visual complexity wherever you can, because the mind rewards the simplest possible reading of your layout.

The takeaway

The Gestalt principles are not stylistic preferences, they describe how perception actually works, which means they are operating in your interface whether you design with them or not. Proximity, similarity, common region, and common fate tell users what belongs together, continuity guides the eye through a layout, closure and figure-ground let the mind build wholes from parts, and symmetry and Prägnanz pull everything toward the simple, stable forms the brain craves. Design with these forces rather than against them and your layouts will feel organized and effortless, because you will be cooperating with the way users were always going to see them.

DD Editorial
DD Editorial
// DesignerDiscussion editorial team

We test tools, read the docs so you don't have to, and rank the agencies actually shipping great work.

  dd@signal:~ — subscribe.sh
$ ./join --weekly-signal
> one email a week. design intel, dev drops, agency rankings. zero noise.