Rise Layouts logo Rise LayoutsDesign and layout, explained clearly
Layout Principles

Proximity in Design and How Spacing Groups Your Content

You line everything up, pick a decent font, and the page still feels messy. Nine times out of ten the culprit is spacing: labels float halfway between two fields, captions sit closer to the next photo than their own, and the reader cannot...

Designer's monitor showing a sign up form with labels tucked close to their input fields and wide gaps between each field group

You line everything up, pick a decent font, and the page still feels messy. Nine times out of ten the culprit is spacing: labels float halfway between two fields, captions sit closer to the next photo than their own, and the reader cannot tell what belongs with what. Proximity in design is the rule that fixes this, and it costs nothing but attention.

The idea is simple. Things that are close together are read as a group. Things that are far apart are read as separate. Once you start designing spacing on purpose, a lot of layout problems you thought needed boxes, lines or colour simply disappear.

What proximity in design means

Proximity is one of the Gestalt principles, a set of observations from early twentieth century psychology about how people perceive visual groups. The brain does not read a page as a list of separate items. It clusters them, and distance is one of the strongest clues it uses.

Try a quick test. Put six dots in a row with equal gaps. You see one row. Now move the fourth dot 20 pixels to the right. You instantly see a group of three and a group of three, even though nothing else changed. No border, no colour, no label. Just space.

That is the power you are working with. Every gap in your layout either says "these belong together" or "these are different things". If you do not decide which, the layout decides for you, usually badly.

The spacing rule that makes groups readable

The most useful practical rule is this: space inside a group must be clearly smaller than space between groups. Not slightly smaller. Clearly smaller. A ratio of at least 1 to 2 works well, and 1 to 3 is safer for beginners.

A common example is a heading above a paragraph. Many beginners give the heading equal space above and below. The heading then floats between the section before and the section it introduces. Instead, try 48 pixels above the heading and 12 pixels below. Now the heading clearly belongs to the text under it.

ElementSpace inside the groupSpace to the next group
Heading and its paragraph8 to 16 px below the heading40 to 64 px above the heading
Form label and its input4 to 8 px20 to 32 px to the next field
Photo and its caption6 to 12 px32 px or more to the next photo
Card title, text and button8 to 16 px24 to 32 px between cards

These numbers are starting points for a typical screen layout with 16 pixel body text. Scale them up for posters and down for dense dashboards, but keep the ratio.

Use a spacing scale, not random values

Pick a short set of spacing values and use only those, for example 4, 8, 16, 24, 32, 48 and 64 pixels. It makes the inside and outside gaps easy to tell apart, and it stops the slow creep of 13, 17 and 22 pixel gaps that make a layout feel slightly off without anyone knowing why. If you already use a type scale for heading sizes, a spacing scale is the same idea applied to empty space.

Where beginners break proximity most often

When I review student work, the same five problems come up again and again.

  1. Form labels equally spaced between the field above and the field below. Users fill in the wrong box. Pull each label tight to its input.
  2. Captions halfway between images. Readers attach the caption to the wrong photo. Keep the caption close to its own image and leave a bigger gap after it.
  3. Buttons drifting away from what they act on. A "Save" button 200 pixels below the settings it saves feels disconnected. Bring it next to the group it affects.
  4. Navigation items with uneven gaps. If "Shop" and "About" are 24 pixels apart and "About" and "Contact" are 40, users read a hidden grouping that is not there.
  5. Every gap the same size. A page where everything is 20 pixels apart has no structure at all. Equal spacing is not neutral. It erases the groups.

Fixing these rarely needs new elements. It needs you to move existing ones closer or further apart.

Why boxes and lines are often the wrong fix

A lot of beginner advice says that if things look ungrouped, put them in a card, add a border, or draw a divider. I push back on that as a first move. Boxes and lines are visual noise. Each one adds edges the eye has to process, and a page full of bordered panels quickly looks like a spreadsheet.

Try spacing first. Increase the gap between groups and tighten the gap within them, then look again. Very often the boxes become unnecessary, and the page gains the calm, open feel that comes from well used negative space. Add a card or divider only when spacing alone cannot do the job, for example when groups must sit close together on a small screen, or when content in a card layout needs a clear tap target.

The test I use: if you remove the border and the grouping still reads correctly, the border was decoration. Keep it only if you like how it looks, not because the layout depends on it.

How to check proximity in your own layouts

Here is a five minute routine that catches most problems before anyone else sees them.

  • Blur test. Squint, or apply a heavy blur to a screenshot. You should see distinct blobs, one per group. If it looks like one grey sheet, your gaps are too similar.
  • Label test. For every label, caption or heading, ask which item it is closest to. If the honest answer is "both", fix the spacing.
  • Inspect the numbers. In Figma or your browser's developer tools, check the actual gaps. Write down the inside and outside value for each group and confirm the outside value is at least double.
  • Squeeze it. Resize to phone width. Responsive layouts often shrink outer gaps faster than inner ones until the groups merge.

Proximity works alongside the other basics, such as alignment and hierarchy. Once you are comfortable with it, the ideas in how visual hierarchy guides the eye will make even more sense, because spacing is one of the main tools hierarchy uses.

Frequently asked questions

What is an example of proximity in design?

A simple example is a form where each label sits a few pixels above its own input, with a much larger gap before the next label. Readers instantly pair each label with the right box. Another is a product card where the name, price and button are tightly spaced and separated from neighbouring cards by a wider gutter.

What is the difference between proximity and white space?

White space is the empty area itself. Proximity is the principle of using the size of that space to show which items belong together. You can have plenty of white space and still break proximity if all the gaps are the same size.

How much space should be between groups in a layout?

Aim for the gap between groups to be at least twice the gap inside a group, and three times if you want the separation to be obvious. On a typical web page with 16 pixel text, that often means 8 to 16 pixels within a group and 32 to 48 pixels between groups.

MV
Mara Vinter

Mara writes about the principles behind good layout, aimed at people who want their work to look intentional rather than accidental.

More posts by Mara

More in Layout Principles

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto