17 / 18

Principle 17

Align by eye, not by box

Software centers bounding boxes; people see visual weight. A play triangle, an asymmetric icon or a round shape centered by the numbers looks off, and a nudge of a pixel or two is what makes it look right.

In a real interface

✕ Avoid

✓ Do

01

Why

Apple puts it directly in its icon guidelines: some icons, especially asymmetric ones, can look unbalanced when centered geometrically instead of optically. Its example is a download icon that carries more weight at the bottom and looks too low when centered by the box.

The adjustments are tiny, Apple adds, but they have a big impact on how an app looks. A play triangle is the classic case: its weight sits on the flat side, so it has to move toward its point.

02

How to apply it

Bake the correction into the asset as padding, as Apple recommends, so the padded icon can be centered geometrically and the shape inside looks centered. Vercel's guidelines allow the same in one line: adjust by one pixel when perception beats geometry.

Next to text, align icons to the text, not to the line box. Apple built SF Symbols so they center optically against the cap height of the text they sit beside.

03

Edge cases

Round and pointed shapes need to be slightly larger than square ones to look the same size, the same reason round letters overshoot the baseline in type design. Keep corrections inside the component, so the layout grid stays clean.

✓ Do

  • Nudge asymmetric icons toward their light side
  • Store the correction as padding in the asset
  • Center icons on the text, not the line box
  • Size circles slightly larger than squares

✕ Avoid

  • Trust the bounding box for triangles
  • Correct the same icon differently per screen
  • Move the grid to fix one icon
  • Leave a play icon leaning left

For agents · PRINCIPLE.md

## Align by eye, not by box

 

- Nudge asymmetric icons (play, download, arrows) toward their light side by 1 to 2px.

- Store the correction as padding in the icon asset, not as ad hoc offsets.

- Center icons on the cap height of adjacent text, not on the line box.

- Make round and pointed shapes slightly larger than square ones to match visually.

Enforced byBADESIGN text and icons centered inside buttonskero-method each correction becomes a project rule