Skip to content
English
Looks cheap25 / 71

Centre by eye

What it's calledOptical alignmentvisual centringGlossary

What goes wrong

A play triangle centred by its box looks pushed to the left, because most of its weight sits on the flat side.

The fix

Nudge uneven shapes until they look centred, not until the numbers say so.

Tell your AI

Shift a play triangle right by about a sixth of its width: translateX(var(--ds-space-4)) (4px) for a 24px triangle in a round button, var(--ds-space-2) (2px) for a 12px one; nudge any arrow or chevron beside text the same way when it looks off-centre.

  • --ds-space-44px
  • --ds-space-22px
Why AI-generated UIs all look the same: 12 rules that fix it

Breathing for runners

Lesson 4 · audio

06:1218:00

Centred by the box: looks pushed left