LLOS.ai
Gestalt & Perception
● Gestalt & Perception · Module 1 · Grouping

The Law of Proximity

Put two things close together, and the mind ties them into one — no line, no box, no label required.

Before you read a screen, you group it. In a fraction of a second, with no effort at all, your eye decides what belongs with what — and the very first thing it goes on is distance. Things that sit close read as one thing; things with space between them fall apart into separate ones. This is the oldest law of perception, and the cheapest tool in design.

It is so quiet you rarely notice it — until it’s wrong. A caption drifting between two photos, a label stranded between two fields, a price sitting nearer the wrong plan: every one is a proximity bug, and every one makes a person hesitate. You’ll feel the law switch on in three quick labs, and learn to wield the space, not just fill it.

~7 min3 felt labsa grouping playground10-question bankglossary · FAQ
The journey — Gestalt & perception
proximitynear = together
similarityalike = together
closuremind fills gaps
figurewhat is on top
continuitythe eye flows
common fatemove together
One idea runs through all six: your mind groups the world before you decide to look — and design can steer it.
What you’ll be able to do
01 · The strongest cue

Same dots. Different picture.

Here are twelve identical dots. Nothing about them will change — not their size, their colour, or their number. The only thing you can touch is the space between them. And yet, as you do, you’ll watch them fall into rows, then columns, then nothing at all.

That flip happens below thought. Your visual system groups whatever sits close together, long before you decide what you’re looking at. That reflex has a name — proximity — and it is the first and strongest way design tells the eye what belongs with what.

The Gap
Twelve identical dots. Slide the spacing and watch groups appear out of thin air.
Drag the slider. Squeeze the rows and you’ll see rows; squeeze the columns and you’ll see columns. Nothing but distance changes.
rows closecols close
A plain grid — your eye can’t decide.
Try it. Squeeze the rows together and watch three horizontal bands appear; squeeze the columns and four vertical lines take over. Same twelve dots.
02 · Proximity has a job

Whose label is this?

Proximity isn’t decoration — it carries meaning. Here is a sign-up form with every label floating in the middle of its gap, equally close to the field above and the field below. Read it: does “Email” belong to the box over it, or under it? You genuinely can’t tell.

Now bind each label to its field by nudging it a few pixels closer. Nothing else changes — no colour, no line, no box — yet the whole form clicks into place.

The Floating Labels
Same labels and fields. Only the spacing tells you what pairs with what.
Start on Ambiguous and feel the hesitation, then switch to Bound and watch the pairs lock together.
Full name
Aarav Sharma
Email
you@example.com
Password
••••••••
Ambiguous. Every label sits an equal distance from two fields, so your eye has to guess which one it names. Reading slows to a crawl. Switch to Bound and let proximity answer the question for you.
03 · Wield the space

The same card, twice

Real layouts are just proximity at scale. Here’s a card with a category, a title, its byline, a line of body text, a button and a footer — the exact same six pieces in both states. In the first, every gap is identical, so nothing groups and your eye has to sort it by hand. In the second, related pieces move together and unrelated ones apart.

No borders are added. No colours change. Only the whitespace is redistributed — and the card goes from a flat wall of text to something you read in a glance.

The Crowded Card
Six pieces, one card. Watch hierarchy appear from spacing alone.
▶ Toggle between Even and Grouped. Notice you never add a line or a box — you only move the air.
Design
Why whitespace is not empty
Pawan Nayar · 6 min read
The space between elements is doing quiet, constant work — telling your eye what belongs with what.
♡ Save↗ Share
Even spacing. With every gap identical, the title, the byline, the body and the button all sit at the same distance — so nothing reads as more or less related than anything else. It’s legible, but it has no shape. Switch to Grouped and let the spacing build the hierarchy for you.
The craft of the gap

Whitespace is a control, not a leftover

Every lab here is one law wearing different clothes. Name it, and you stop filling space and start using it.

Things that belong together, put together.

Proximity is the first grouping cue the eye reaches for, and the strongest — it can quietly overpower colour and shape. That gives you a rule you can carry into any layout: the space inside a group must be smaller than the space around it. Not a fixed number of pixels — a relationship. A label eight pixels from its field and twenty from the next reads as bound; make both gaps equal and it belongs to no one.

This reframes whitespace entirely. It isn’t the leftover after you place your content; it is a control you set, as deliberate as a colour or a font. Crowding — the failure mode — happens when unrelated things land too close and fuse into a group they were never meant to form. The fix is almost never a border or a box. It’s air: widen the gap between the things that don’t belong together, tighten the gap between the things that do.

So the working test is quick: on any screen, squint until the words blur. Do the clusters you see match the meaning you intended? If two unrelated blocks huddle as one, or a heading floats free of its text, proximity is lying — and a few pixels of space, moved on purpose, will tell the truth.

Cast your vote

Which one groups better?

Five face-offs. Same content, two spacings — one makes the relationship obvious, one makes you guess. Pick the clearer, then see why.

Round 1 of 5Score 0
Seen in the wild

Grouping by distance, everywhere

Once you can see proximity, you catch it doing quiet work everywhere — on every screen, and on paper long before screens existed. Five places you rely on without a thought.

Where distance leads next

Proximity groups by distance — but sometimes things can’t move closer: a legend scattered across a chart, rows locked to a grid. When distance is fixed, the eye falls back on the next cue: likeness. Same colour, same shape, same size — and suddenly the scattered things read as one set. That is similarity, and it’s Module 2.

Take it further

The real references

This law isn’t ours — the Gestalt psychologists named it a century ago, and the field has tested it ever since. Five worth your time. (Opens in a new tab.)

The vocabulary

The Proximity glossary

Six words that turn “this feels cluttered” into a precise, fixable diagnosis. Tap a card to flip it.

The nuance

Questions you actually ask

Busting the myths

What people get wrong

Myth
“Whitespace is wasted space.”
Whitespace is the primary grouping tool in design. Strip it out and you don’t save room — you destroy the structure that told people what belonged with what.
Myth
“More spacing always looks cleaner.”
Uniform spacing is what kills grouping. What reads as clean is relative spacing: tight within a group, loose around it. Equal gaps everywhere just flattens everything into noise.
Myth
“You need borders or boxes to group things.”
Proximity groups with zero ink. Reach for space first; a box is a louder, heavier tool you only need when distance alone can’t do the job.
Myth
“Proximity is a minor spacing detail.”
It’s the strongest grouping cue there is — it can overpower similarity of colour and shape. Get proximity wrong and no amount of styling will rescue the layout.
Train the eye

Read the grouping

Ten questions in seven formats, tagged by thinking level — each with layered hints: a nudge, the reasoning, then a deeper connection. A wrong answer opens a door, never a dead end. Served from the question bank, never hardcoded.

Loading the question bank…
Question 1 of 10
Multiple choice
Keep going

Where this connects

▶ Play the labs