All UX laws

Alignment Principle

When edges line up, a screen looks intentional. Stray edges look careless.

Aligned elements feel intentional and reduce cognitive load. Stray edges feel sloppy.

By Rohit Sonawane, product designer · Last reviewed 16 November 2026

What is the alignment principle in design?

The alignment principle says that elements on a screen should line up along shared edges or centres. Aligned items look connected and intentional, while stray edges look careless and make a layout harder to scan.

Line up a card by eye

Four elements on a profile card each start at a slightly different distance from the edge. Select one and nudge it until the card looks right, with no guides to help.

How do you apply the Alignment Principle?

Use flex/grid with consistent gaps; pin CTAs to card bottom with margin-top:auto.

How to apply the Alignment Principle, step by step

  1. Set up a layout grid with consistent columns and gaps.
  2. Align text and elements to the grid's edges, not by eye.
  3. Pick one alignment per block, usually left for text.
  4. Line up repeated elements, such as card buttons, across the row.

What does the Alignment Principle look like in a real product?

The invisible grid the eye still feels

Line up every label's left edge, every value's right edge, and every card's baseline, and a form looks considered before anyone reads a word. Let a few fields drift a couple of pixels and the same form feels amateur, even if users can't say why. This is why design tools ship alignment guides and why a strict column grid makes a page feel calm: the eye reads shared edges as order. Apple's and Stripe's marketing pages are ruthless about it.

What are common mistakes with the Alignment Principle?

  • Centring everything. Centred text and ragged blocks give the eye no shared edge to follow, so longer content gets harder to scan.
  • Mixing alignments without reason, so labels, values, and buttons each start from a different edge.
  • Eyeballing spacing by hand instead of leaning on a grid (or flexbox with consistent gaps), so “nearly aligned” edges wobble.

When does the Alignment Principle not apply?

Strict alignment serves scanning, but expressive layouts (an editorial hero, a poster, a landing splash) sometimes break the grid on purpose to create tension and pull the eye. The rule is a default for functional, content-dense screens, not a ban on deliberate asymmetry where the goal is feeling rather than fast reading.

How do you know you applied the Alignment Principle well?

If you draw lines along the left edges and baselines, most elements sit on a few shared lines, with nothing a few pixels off.

Alignment Principle: frequently asked questions

Why is alignment important in UI design?

Alignment gives the eye clear lines to follow, so people find information faster. It also signals which items belong together, the way a grid in a newspaper does.

Should everything be left-aligned?

For text in left-to-right languages, left alignment is easiest to read. Centre alignment works for short, single items like a headline or an empty-state message, but long centred text is hard to scan.

How do I keep cards aligned when their content differs?

Use a grid or flexbox with equal-height cards, and push buttons to the bottom of each card so they line up in a row, no matter how long the text above them is.

Practise it on a real challenge

Card Grid — every card lands at a different height

A 3-column card grid has titles, prices, and buttons all landing at different heights, so the whole row looks broken even though each card is 'correct' on its own.

Put Alignment Principle into practice

  • Graphic Designer Creative Studio — A studio hub for client branding, assets, and deliverables.

Related reading

  • Nielsen's 10 usability heuristics, with a real example of each

More UX laws

  • Aesthetic-Usability Effect
  • Law of Continuity
  • 60-30-10 Rule
  • Law of Common Region
  • Modular Type Scale
  • Law of Proximity
UX QuestUX Laws and PrinciplesUI UX PracticeUX Design Challenge GeneratorNotion TemplatesBlogPricingAboutContactPrivacy PolicyTerms of ServiceRefund PolicySitemapChangelogPopular UX laws:60-30-10 RuleDesign every stateStatistical PowerFunnel TriageAccessible contrastDensity Matches ContextHick's LawFitts's LawAll UX laws