Guides / Typography

Balanced Headlines

Use text-wrap: balance on multi-line headings so wrapped lines are roughly equal — no orphan words.

Live demo

This is a long title that wraps and leaves
one word behind
This is a long title with two balanced lines
Top: Normal wrap · Bottom: balance

Implementation prompts

Standard

Apply text-wrap: balance to headings so multi-line titles wrap into evenly balanced lines.

With motion

Apply text-wrap: balance to headings with a smooth fade-in on line reflow.
Design spec entry
### Balanced Headlines (#text-balance)

Category: Typography

Use text-wrap: balance on multi-line headings so wrapped lines are roughly equal — no orphan words.

- Do: Apply text-wrap: balance to headings so multi-line titles wrap into evenly balanced lines

- Avoid: no orphan words

With motion: Apply text-wrap: balance to headings with a smooth fade-in on line reflow.

Live demo: https://uidesignmd.com/guides/text-balance/