Gestalt principles in UI design: proximity, similarity, continuity and closure explained
The Gestalt principles come from early 20th-century psychology and describe how people perceive groups and patterns. They explain why some interfaces feel organised and others look like a pile of parts.
The principles most relevant to UI:
- Proximity: items close together are perceived as related. This is why spacing is a grouping tool: a label should be closer to its input than to the next field.
- Similarity: items that look alike (colour, shape, size) are seen as having the same function. All links should look like links.
- Common region: items inside a shared boundary, like a card or panel, are seen as a group.
- Continuity: the eye follows lines and curves, so aligned items read as a sequence.
- Closure: people mentally complete incomplete shapes, which is why simple icons can be very minimal.
- Figure-ground: people separate a subject from its background; overlays and modals rely on this.
- Common fate: elements that move together are perceived as related, useful in animation.
Practical applications:
- Use whitespace before borders and boxes to group content.
- Keep styling consistent so similar actions look similar.
- Do not make non-interactive text look like a button, or vice versa.
Discussion:
- Which Gestalt principle do you see violated most often in interfaces?
- Do you think spacing or containers do more for grouping?
Comments · 2
Closure is behind the classic logos where a shape is suggested and not drawn. Our brains finish the circle, which makes icons feel clever.
For landing pages, similarity helps conversions. If all clickable things look alike, users know what to press without being told.