Usually the question “What is the law of proximity?” comes up while trying to solve a design problem. The law of proximity comes in because designers have a lot of people to please as they create websites, devices, and products.
And designers like you recognize that design decisions have the power to shape the world.
The choices you make about color, structure, and space impact every person that interacts with your designs. But you don’t have to rely on your personal vision alone.
A set of principles in psychology — Gestalt laws — describe how people perceive objects around them. One of these principles is the law of proximity. Keep reading or jump to one of the sections below:
What is the law of proximity?
The law of proximity is a principle in Gestalt psychology that describes how the human eye perceives elements that are close together as more related than elements that are further apart. This principle applies even if the elements differ in color, shape, size, or other characteristics.
Below is an illustration of the law of proximity.
According to this principle, you’ll see the three rows of shapes on the left as belonging to one group, despite the fact that some are different colors.
And you’ll see the row of shapes on the right as belonging to a separate group, despite the fact that they are the same size and color as the majority of shapes on the left.
That’s because the three rows of shapes on the left are close together, while the row of shapes on the right is further away.
Gestalt laws like the lay of proximity are fundamental in user experience (UX) design. They can help your visitors understand what they’re seeing, find what they’re looking for, and take action.
Let’s take a closer look at these laws as a whole.
Gestalt laws are a set of psychological principles based on the idea that humans have a natural inclination to perceive patterns in the world around them.
Psychologists Max Wertheimer, Wolfgang Köhler, and Kurt Koffka argued that this was an innate disposition of the human mind. Based on this foundational belief, they created a set of principles to explain how people organize and interpret visual data.
Since each principle aimed to describe how people made order out of the disorder around them, the group of German psychologists named them “Gestalt” laws — which is German for “unified whole.”
Let’s briefly define the five major principles below.
The law of proximity states that objects placed in proximity to one another will be seen as a group rather than as individual parts.
For example, Univer’s logo has 25 distinct icons. But because they are in close proximity, you recognize the whole “U” figure.
The law of similarity states that when objects look similar, they will be perceived as one object or as a part of the same group.
Sun Microsystems’ logo is an excellent example of the law of similarity. Rather than see eight distinct U-shaped figures, you perceive the word “sun” four times, with the letter “S” broken into two parts.
According to the law of closure, people fill in missing information or gaps to see an object as a whole.
For example, when looking at the World Wildlife Fund’s logo, your brain will naturally perceive the cluster of black shapes set against a white background as a panda.
The law of continuity describes how objects that look different but are similarly aligned will be seen as a whole. For this to be effective, the eye must move naturally from one object to the other without something breaking the continuity.
Mastercard’s logo is a great example since the eye easily moves from one interlocking circle to the other thanks to the overlapping orange region.
The law of figure-ground describes how the human eye can separate an object (or figure) from the surrounding area (or ground). The FedEx logo applied this principle to emphasize both its brand and what it does.
In the FedEx logo, can see the words FedEx as the figure and the forward arrow between the E and the x. This use of figure-ground emphasizes both the FedEx brand and a reference to their swift delivery service.
Why is the law of proximity important?
Understanding the law of proximity can make it easier for you to see your website design from someone else’s perspective.
There are many ways to create something that’s appealing to the eye. But it takes empathy, time, and knowledge to create a website that anyone can use effectively.
For example, you may have perfect vision, but what if 60% of your target audience has vision problems? A site with high contrast, targeted use of color, and a clear structure will be easier for them to use.
Another example: When looking at a website, 38% of consumers look at the page layout or navigational links first.
The ways that you group and arrange this content on your website make it easier for your site visitors to reach their goals on your site.
Understanding proximity can make you a better designer because it helps you organize information. Effective use of the law of proximity can:
- Make your website more readable
- Reduce visual clutter
- Make your site more dynamic
- Help you create the right balance and structure for your site
Let’s take a closer look at how this law applies to UX design.
Law of Proximity UX
Applying the law of proximity in user experience design is easy. Remember to place related elements near each other and unrelated elements apart from each other. Using whitespace to group or separate elements is key.
In web forms, for example, place labels in close proximity to the input field so that the user understands how they relate. This bootstrap form below is easy to understand and complete:
But the form below is more difficult to understand. This is because of the large chunk of white space between the label and email address input field.
Most users will likely be able to figure it out and fill in the text field correctly, but they will need to spend more time thinking before they complete the form.
Let’s look at more examples of this principle below.
Law of Proximity Examples
You see the law of proximity at work every day, but you might not realize it. It shows up on web pages, apps, remote controls, business cards, and more. Let’s take a look at some examples below.
Most navigation menus offer simple examples of the law of proximity in action.
W by Crystal White
Check out the example above. Notice that the primary navigation items are spaced evenly apart. Then, there’s a chunk of whitespace before the search, login, and cart buttons. This lack of proximity helps to show website visitors that these three items are secondary navigation items.
This example from The Room is another streamlined example of proximity in the navigation bar. No matter what size your monitor is, you can see a clear grouping for navigation at the top right-hand corner of the page.
This navigation has a different orientation on the page, but there is clear use of the law of proximity. The grouping on the left is the main navigation for the page. The grouping on the right gives users a chance to learn about Magnet in more detail.
Product pages are also great examples of the law of proximity. Proximity on a product page is about hierarchy. You want to structure product pages so that your users can explore your website without getting lost or reaching a dead end.
Notice how on the product page above, the image, star rating, title, price, and “Add to Cart” buttons for each product are all in close proximity. This conveys to the reader that all this information relates to one product. The designer uses white space to separate one product from another.
High-end products like Fitbit use proximity to emphasize the value and features of their product.
Besides grouping text elements, this product page groups similar but different products to highlight their subtle differences. This makes it easy for shoppers to scan the two products as they make a purchase decision.
Images are important too. When you add images, try to place them near relevant content to help your readers connect your words and images.
Brit + Co
This blog home page uses a grid structure and proximity to create visual groupings that are easy to scan for more consumable blog content.
Newsletter Opt-in Form
You can also see the law of proximity applied in most newsletter opt-in forms. White space and groupings on your newsletter opt-in can focus user attention on some areas more than others and boost the user experience.
Broken Land Co.
In the example above, thanks to the proximity of the input field and the “Subscribe” button, the user has no doubt what will happen when they enter their email address and click the button.
This newsletter form creates visual space between the form on the left and the report image on the right. The grouping on the left uses different sizes of type to emphasize details, and the graphic on the right gives users more detail on the value their newsletter offers.
This newsletter opt-in groups every useful call-to-action in a single group on the right-hand side of the popup. Whether a site visitor wants to minimize the window to view the website or complete the form for a discount, it’s easy to see every option quickly and easily.
Check out this post for more excellent form examples.
Web Application Sign-in
Are you hearing from your customers that your web application sign-in needs some work? Proximity can help.
Sometimes a button, link, or instruction can seem like it’s easy to see. But when you group unrelated elements it can make it easy for your users to skip over them.
The first time you log in to a new app is often the most difficult. Many apps share so much information that it makes it tough to figure out how to log in and use the app. The user interface for the HubSpot app is simple, with ample white space that draws attention to two simple choices: log in or sign up.
Gusto’s log-in has many choices, like logging in with Xero, Intuit, or Google credentials. But they use proximity to connect each part of their login form with text that answers common questions.
Instagram uses the law of proximity to break its login page into sections that help new users quickly solve common problems. Whether they’ve forgotten their password or need to download the app, there is a clear structure that groups common elements for a great user experience.
Website footers typically exemplify the law of proximity. Good use of proximity essentially means that you should group logo and brand values together, group contact details together, group social media profiles together, and so on.
In the example above, notice how most of the items come together under three headings: help, legal info, and follow us.
In this example, important site pages form a group on the left and newsletter sign-up details form a group on the right. Then Chobani created a group for important customer information at the bottom.
This grouping helps to focus on the information that users are most likely to look for. It also helps guide users who are quickly trying to solve a problem.
This website footer uses proximity to share a lot of complex information simply. The left grouping offers links that answer common questions from different site visitors. Then there is a separate grouping for each of the agency’s eight offices.
The Law of Proximity for Mobile Devices
The law of proximity is especially important with mobile devices. most mobile devices have a smaller screen size. constant interaction is just one of many user behaviors that are unique to mobile. these qualities increase the importance of proximity, and ease of use with minimal effort.
When designing for mobile, don’t just start with a desktop design and make adjustments so that the same design works on a mobile screen. Designing for portrait orientation might feel uncomfortable at first. But this change in orientation makes the way that you group elements more important than ever.
Without unique mobile design your users might struggle with:
- Overlapping design elements
- Buttons and links that are tough to click
- Form errors
- Slow load times
- Excessive scrolling
At the same time, mobile devices offer a range of existing elements that you can build on with your unique design, like bottom navigation bars.
Find ways to make what is most important to your audience a priority. Use proximity to draw attention to this content. This may mean editing and removing extras from your mobile designs.
This app is simple and clean. The clear upper and lower groupings make it easy for first-time users and library patrons who might not be tech-savvy to use this app.
A wellness app like Shine offers many different tools for users. The more complex your mobile tool is, the more important proximity is. The example above shows clear buttons, headers, and blocks of text in groups. This approach makes it easy to scan and choose the right resource even if you have a stressed user.
Using the Law of Proximity
From navigation menus to web forms and everything in between, the law of proximity is vital to good web design. When you consider proximity in your designs, it helps users to better understand how different elements relate. This can make it easier for them to consume your content or take action on your site.
Great website design makes your audience feel seen, valued, and empowered. You can make the website of their dreams with the right knowledge and tools.
This post was originally published in July 2021 and has been updated for comprehensiveness.