Design3 min

Gestalt principles in UI design, with examples

Gestalt principles in UI design explained with examples: proximity, similarity, closure, continuity, figure-ground, common region and focal point.

Saurabh YadavFounder, Design Studio by Saurabh
DesignGestalt principlesPerceptionLayout
Share

Gestalt principles describe how our brains group what we see into meaningful wholes. They come from early 20th-century psychology, and they explain why some layouts feel instantly clear and others feel messy.

The principles at a glance

PrincipleWhat people perceiveUI example
ProximityThings close together belong togetherLabel next to its input
SimilarityThings that look alike are relatedAll links in the same colour
Common regionThings inside a boundary are a groupCards grouping content
ClosureWe complete incomplete shapesIcons made of partial lines
ContinuityElements on a line or curve are relatedCarousels and progress steps
Figure-groundWe separate objects from backgroundsModals over dimmed pages
Focal pointThe thing that stands out grabs attentionA highlighted pricing plan

Proximity

The most useful principle in everyday UI. Put labels closer to their own input than to the next one, and keep more space between sections than within them. Often you can remove borders and lines entirely by using spacing well.

Similarity

Elements that share colour, shape or size are seen as related. Make all clickable text look the same, and don't style non-clickable text like links. Consistency is similarity at scale.

Common region

A background, border or card groups content strongly, even when items are far apart. Cards are common region in action. Use them deliberately; too many boxes inside boxes adds clutter.

Closure

People complete shapes in their minds. Many icons and logos use closure to look simple. In layouts, partly visible cards at the edge of a carousel signal "there's more to scroll".

Continuity

The eye follows lines and curves. Steppers, timelines and aligned elements use continuity to show sequence and connection.

Figure-ground

We separate the subject from its background. Modals with a dimmed backdrop, bottom sheets and drop shadows all rely on figure-ground to show what's in focus. See modal vs drawer.

Focal point

Whatever looks different stands out. Use one focal point per area, such as a recommended plan or a primary button, and keep everything else calmer.

Tip

Before adding a divider line or a box, try more space instead. Proximity often groups content more cleanly than decoration.

Work with us

Want a team to design it with you? Our UI/UX design agency for startups and SaaS takes products from research to developer handoff.

FAQ

What are the Gestalt principles in UI design?

They're principles of visual perception, including proximity, similarity, common region, closure, continuity, figure-ground and focal point, that explain how people group and interpret elements on a screen.

What is the most important Gestalt principle for designers?

Proximity is the most practical. Placing related items close together and unrelated items further apart makes interfaces easier to understand, often without extra borders or lines.

How are Gestalt principles used in web design?

To group related content with spacing and cards, signal links with consistent styles, show sequence with aligned steps, focus attention with modals and highlight key actions as focal points.

Key takeaways

  • Gestalt principles explain how people group what they see.
  • Proximity and similarity do most of the work in UI.
  • Cards use common region; modals use figure-ground.
  • Use one focal point per area.
  • Try spacing before adding lines and boxes.

What to do next

Find a cluttered screen and remove one divider by increasing spacing instead. If you'd like help making your product's UI clearer, get in touch.

Saurabh Yadav's Memoji

Written by

Saurabh Yadav

Founder of Design Studio by Saurabh, a UI/UX design studio in India. We design apps and websites that feel effortless, from research to shipped pixels. Most recently: Pukaar.ai, as seen on Shark Tank India, and the Demerara Bank app.

Keep reading

All articles →