UI DESIGN LAB
  • Home
  • Community
  • Library
  • Knowledge
  • Docs
ZHLogin
Back to knowledge
Visual Foundations

Proximity Grouping

Distance communicates belonging: related items sit together, unrelated items separate.

gestaltgroupingspacing

Design Principle

Users infer grouping from spatial distance before reading labels or borders.

Principle Users infer grouping from spatial distance before reading labels or borders.

Design action Use a spacing scale such as 4/8/12/16/24; inner spacing must be smaller than group spacing, and labels, inputs, filters, and results should stay close.

Examples Positive example: Forms, filters, list rows, and settings need grouping. Counterexample: Too many borders compensate for weak spacing.

Apply when Forms, filters, list rows, and settings need grouping. Cards contain title, metadata, and actions.

Source notes Source note: Synthesized from Apple HIG, Material Design, NN/g usability principles, and layout/hierarchy practices in mature design systems.

Agent Directive

Use a spacing scale such as 4/8/12/16/24; inner spacing must be smaller than group spacing, and labels, inputs, filters, and results should stay close.

Apply When

  • Forms, filters, list rows, and settings need grouping.
  • Cards contain title, metadata, and actions.

Avoid

  • Too many borders compensate for weak spacing.
  • Related controls are scattered across the page.

Knowledge Metadata

Category
Visual Foundations
Quality
82%
Version
v1
Published
6/6/2026