UI Design · Lesson 03 / 12
Gestalt principles
How the brain groups what it sees — proximity, similarity, common region, continuity, closure, figure–ground, common fate and more — and how to use each principle to create clear, organised layouts.
4 min read · 5 quiz questions
What is Gestalt?
Gestalt is a German word meaning "shape" or "form". Gestalt psychology, developed in the early 20th century by Max Wertheimer, Wolfgang Köhler and Kurt Koffka, studied how people perceive visual elements as organised wholes rather than separate parts.
The key idea: the whole is perceived as something different from the sum of its parts. We don't see 12 dots; we see two groups of six. We don't see a set of lines; we see a box. UI designers use these tendencies to make layouts understandable at a glance — without extra lines, labels or explanations.
Live preview
Proximity — two groups
Similarity — blue squares vs dots
Common region — the boxed pair
Proximity
Elements that are close to each other are perceived as a group. Proximity is one of the strongest grouping principles — often stronger than colour or shape.
- Place a form label closer to its own input than to the input above.
- Use more space between sections than between items inside a section.
- Group related buttons together; separate destructive actions.
✗ Ambiguous ✓ Clear
Email Email
[______________]
[______________]
Password Password
[______________]
[______________]Similarity
Elements that look alike — in colour, shape, size or style — are perceived as related or having the same function.
- Style all links the same way so people recognise them as clickable.
- Use the same card design for items of the same type.
- Make a different element look different on purpose (e.g. the selected tab, a sale price).
Common mistake: Styling non-clickable text like links (blue, underlined). Similarity tells users it should work like a link — and it doesn't.
Common region
Elements inside the same boundary are perceived as a group, even if they are far apart or look different. Cards, panels, table rows with backgrounds and boxed sections all use common region.
- Use cards to group an image, title, price and button for one product.
- Use a subtle background to group a set of filters.
- Avoid boxing everything — too many borders create visual noise. Often proximity alone is enough.
Continuity
The eye follows lines, curves and aligned elements, and perceives elements arranged on a line as related.
- Align items on a clear axis so the eye flows through them (left edges of a form, a timeline).
- Horizontal carousels that cut off the last item suggest "there's more — keep scrolling".
- Progress steppers connect steps with a line to show sequence.
Closure
People fill in missing parts to perceive a complete shape. A circle drawn with a gap still reads as a circle.
- Icons and logos can be simplified because the brain completes them.
- A card partially visible at the edge of the screen is understood as a full card.
- Loading spinners use incomplete circles that still read as a circle in motion.
Figure–ground
People separate what they see into a foreground object (figure) and a background (ground). Clear figure–ground contrast tells people what to focus on.
- Dim the page behind a modal so the modal is clearly the figure.
- Use a background colour or shadow to lift a sheet or menu above the page.
- Text on busy photos needs an overlay or shadow so it separates from the ground.
Common fate, symmetry and focal point
| Principle | What it says | UI example |
|---|---|---|
| Common fate | Elements moving together are seen as a group | Selected items animate together when dragged |
| Symmetry & order | People prefer simple, symmetrical, orderly forms | Balanced layouts feel stable and calm |
| Focal point | Whatever stands out visually captures attention first | A single coloured button on a neutral screen |
| Uniform connectedness | Elements connected by lines are seen as related — strongest of all | Connected steps in a stepper; related nodes in a diagram |
Using principles together
Real interfaces combine several principles. A product card uses common region (the card boundary), proximity (title near price), similarity (all cards styled the same) and focal point (the coloured button). When principles conflict — for example, two items close together but styled differently — the stronger signal usually wins, so be deliberate.
Do
- Use spacing as your first grouping tool.
- Keep repeated items visually identical.
- Make one focal point per area.
- Check groupings in greyscale and at a glance.
Don't
- Add borders and dividers everywhere.
- Place labels exactly between two fields.
- Style unrelated things the same way.
- Let decorative elements compete with content.
Before adding a divider line, try adjusting spacing. Proximity can often do the same job with less visual noise.
Key takeaways
- Gestalt principles describe how people perceive elements as organised groups.
- Proximity is often the strongest grouping tool: more space between groups than within them.
- Similarity signals related function; common region groups elements inside a boundary.
- Continuity, closure and figure–ground guide the eye and focus attention.
- Combine principles deliberately and prefer spacing over extra lines and boxes.
Exercise
Group a settings screen
- List 12 settings for an app (notifications, privacy, language, etc.).
- Group them into 3–4 sections using only spacing — no lines or boxes.
- Add section headings and check that each label sits closest to its control.
- Try a second version using cards (common region). Which feels clearer?
- Identify which Gestalt principles each version uses.
Test yourself
Gestalt principles quiz
5 questions. Score 70% or more to complete the lesson.
