Law of Proximity

Things placed close together are seen as a group.

Why it matters

Spacing tells people what belongs with what, often better than lines or boxes.

How to use it

  • Keep labels close to their own inputs.
  • Add more space between groups than within them.
  • Group related actions.

Example

A label equally far from two fields makes people unsure which one it describes.

Go deeper: Laws of UX