Design Laws · Lesson 1/3
Gestalt principles
How the brain groups what it sees, and how to use that to make interfaces feel organized.
Design laws and principles help guide the creation of practical and aesthetically pleasing designs. They come from psychology and decades of research on how people perceive, decide and behave. By understanding and applying them, you can create designs that are more effective, user-friendly and aesthetically pleasing, and you can explain your decisions to clients with more than "I like it".
This module covers them in three lessons: the Gestalt principles (how we perceive), the laws of decision (how we choose and act) and the laws of behavior (how we feel and remember).
Where they come from
Gestalt psychology originated in Germany in the early 20th century, with the work of Max Wertheimer, Wolfgang Köhler and Kurt Koffka. The principles focus on how humans perceive and interpret visual stimuli, emphasizing that the whole is greater than the sum of its parts. The key principles were developed and refined between 1910 and 1930.
They describe how the brain organizes visual elements into meaningful patterns. You don't decide to see groups; your brain does it automatically. Good interfaces work with that instinct instead of against it.
Three groups, because they share a background.
The principles
Common region
Elements tend to be perceived as groups if they share an area with a clearly defined boundary. Cards, panels and table rows with a background are all common region at work. Visual groupings create a sense of order and organization.


Proximity
Objects that are near each other tend to be grouped together. Use spacing to create relationships between elements and guide attention: a label close to its input, a title close to its paragraph. You studied this in depth in the Proximity lesson.

Similarity
Similar elements are perceived as related or belonging together. Use similarity in shape, color, size or other attributes to create relationships, for example by styling every clickable link the same way.


Continuity
People tend to perceive continuous lines or patterns rather than fragmented ones. Smooth, continuous elements, like a horizontal carousel cut at the edge of the screen or a timeline, guide attention and feel more natural.

Closure
The brain fills in missing parts to perceive a complete shape. That's why a logo made of incomplete lines can still read as a circle, and why simple icons work with very few strokes.

Figure-ground
People perceive objects as either figures (distinct elements) or ground (background). Use contrast, negative space and overlays to separate them. A modal over a dimmed page is figure-ground in action.
Uniform connectedness
Elements that are visually connected (by a line, a frame or a shared color) are perceived as more related than unconnected ones. Steppers connect their steps with a line for this reason.

Prägnanz (law of simplicity)
People tend to interpret complex or ambiguous images in the simplest form possible. This reinforces the importance of simplicity and clarity in design: if a shape can be read in a simple way, that's how people will read it.
Do
- Group related content with spacing first, then with containers only if needed.
- Give every element of the same type the same style so people recognize the pattern.
- Dim the background when you open a modal.
Don't
- Place a label at the same distance from two inputs.
- Style a non-clickable text exactly like a link.
- Put boxes inside boxes inside boxes when spacing would be enough.

Quiz
Check what you learned
Exercise
Spot the Gestalt
Train your eye to see these principles in real products.
0/3 steps done