Skip to content
English
Looks cramped04 / 71

Group by distance

What goes wrong

When every gap is the same, labels float halfway between fields and nothing looks like it belongs together.

The fix

Keep related things close and leave clearly more space between groups than inside them.

Tell your AI

Place each label var(--ds-space-6) (6px) above its field, space the fields of one group var(--ds-space-16) (16px) apart and separate groups by var(--ds-space-32) (32px) under a heading; the gap between groups must be at least twice the gap inside them.

  • --ds-space-66px
  • --ds-space-1616px
  • --ds-space-3232px
Why AI-generated UIs all look the same: 12 rules that fix it

Contact

Emailmia@example.com

Delivery

Street address12 Harbour Road
CityPorto
Postcode4000-123