Law of Similarity
Things that look alike are assumed to work alike — design visual consistency on purpose.
01 — TL;DR
Two sentences.
The Law of Similarity is a Gestalt perceptual principle establishing that the human visual system automatically groups elements sharing visual properties — colour, shape, size, texture, orientation, pattern — into the same perceptual category, assuming they are functionally equivalent regardless of their spatial position. For interface designers, this means visual consistency is not an aesthetic preference but a functional communication: when all interactive buttons share the same visual treatment, users can identify new buttons by similarity to known ones; when interactive and non-interactive elements are visually indistinguishable, users cannot determine what is clickable through visual scanning alone.
Similarity creates functional expectation — not just visual grouping
When two elements look the same, users don't merely perceive them as belonging to the same category — they expect them to behave the same way. A button that looks like every other button but doesn't respond to a click violates the functional expectation that similarity established. Applying the same visual treatment to functionally different elements does not merely create visual confusion — it creates interaction prediction failures.
Trigger phrase
When users are failing to recognise interactive elements as clickable, treating non-interactive elements as interactive, or not perceiving a set of functionally related items as belonging to the same category — and the root cause is visual inconsistency rather than missing labels.
02 — When to Use
Apply this when…
When NOT to apply it
Skip similarity enforcement when elements must appear similar for layout or aesthetic reasons despite being functionally different — spatial position, label size, or explicit category text must then override the automatic categorical inference the visual system creates. Skip it when the context is explicitly art direction rather than functional interface — decorative, illustrative, and brand elements may deliberately use visual similarity as an expressive technique rather than as categorical communication.
03 — How It Works
The mechanism
The visual system uses appearance as a proxy for category membership. In the natural world, things with the same appearance typically have the same properties — red berries on a bush are the same type, leaves on a tree have the same function. The visual system's automatic grouping by similarity is an efficient categorical inference engine: if things look the same, they probably are the same. Wertheimer's original demonstrations showed participants involuntarily grouping arrays of shapes by shared property rather than by position — and Anne Treisman's feature integration theory established that similarity grouping occurs within approximately 50 milliseconds, pre-attentively.
Similarity and Proximity work together — and can conflict
Similarity groups by shared visual properties; Proximity groups by spatial closeness. In well-designed interfaces they reinforce each other — related elements are both close and look alike. When they conflict — proximate elements that look different, or visually identical elements that are spread apart — the stronger signal wins, but the result depends on magnitude. Complex layouts can produce ambiguous perception when proximity and similarity suggest different groupings; resolve this by deciding explicitly which principle should dominate and strengthening its signal accordingly.
04 — Real Example
Material Design's colour-role assignment and the similarity-based interactive vocabulary
Google's Material Design system is one of the most systematically documented applications of the Law of Similarity in a production design system. Material Design explicitly assigns visual properties — primarily colour — to functional roles rather than to individual components: the "primary" colour role is applied to all interactive actions and CTAs across all components; the "secondary" colour role to all supporting interactive elements; the "surface" colour role to all non-interactive containers. The functional vocabulary emerges from the consistent assignment — any element sharing the primary colour is interactive; any element in the surface colour is not.
The strategic insight is that role-based colour assignment teaches users the interactive vocabulary of any product built on the system through similarity. Users who have learned that primary-colour elements are interactive in one Material Design application can apply that knowledge to any other Material Design application without explicit instruction. The visual property (primary colour) is consistently associated with the functional category (interactive action), so category membership of any new element is immediately inferable from its appearance.
05 — In the Wild
Test yourself & see real examples
No examples yet — be the first.
Spotted a product with such a consistent visual vocabulary that you could immediately identify every interactive element from its appearance — or one where interactive and non-interactive elements are so visually similar you have to click things to find out if they work? Submit a screenshot and annotate what you see. Every approved example gets attributed to you.
Seen the Law of Similarity applied systematically or violated in a real product? Help grow the evidence base.
06 — Common Mistakes
Where teams go wrong
07 — Variations & Related Principles
Connected ideas
The Law of Similarity is the Gestalt principle governing categorical perception through shared visual properties. Its closest relationships are with the other perceptual and cognitive principles that govern how users form and apply categories in interface interactions.
The most important pairing is the Law of Similarity with design system component consistency. Similarity predicts that visual consistency across same-category elements enables categorical inference; design system component libraries are the structural mechanism for enforcing that consistency. A design system assigning consistent visual properties to component categories — buttons, inputs, navigation items, cards — is a systematic implementation of the Law of Similarity as design infrastructure. Without a system to enforce it, visual similarity degrades through iteration and the categorical inference mechanism breaks down, forcing users back onto labels and trial interaction rather than visual pattern recognition.
08 — 10-Min Exercise
Run it right now
⏱ 10 minutes · Solo · No prep
Open your product and identify every interactive element type on your most important screen — buttons, links, icon buttons, card CTAs, navigation items, toggles, and any other elements users can click or tap. List them.
1. For each interactive element type, write down the specific visual properties that distinguish it: background colour, border, border radius, typography weight, icon presence, shadow. Be precise — "blue" is insufficient; "hex #2563EB background with white text and no border" is useful.
2. Compare the visual properties across your list. Are there two interactive element types that share enough properties for a new user to perceive them as the same category? Are there interactive elements that share more properties with non-interactive elements (text, containers, images) than with other interactive elements?
3. For any category ambiguity — interactive elements that look too similar to each other or too similar to non-interactive elements — write the minimum visual change that would create a clear similarity-based categorical distinction.
4. The minimum change is the starting point for the design conversation about visual vocabulary consistency in your product. The goal isn't a complete redesign — it's resolving the specific similarity conflicts that are forcing users to rely on labels and trial interaction instead of pre-attentive categorical inference.