Skip to content
English
Looks cheap23 / 71

Letter spacing by size

What it's calledTrackingletter spacingGlossary

What goes wrong

At the default spacing a large headline looks loose and gappy, while a small capitals label looks squeezed.

The fix

Tighten large type a little and open up small capitals a little; leave body text alone.

Tell your AI

Set letter-spacing: -0.03em on headlines at var(--ds-font-size-2xl) (28px) and larger and -0.02em at var(--ds-font-size-xl) (20px); give small uppercase labels at var(--ds-font-size-xs) (12px) letter-spacing: 0.06em, and leave body text at 0.

  • --ds-font-size-2xl28px
  • --ds-font-size-xl20px
  • --ds-font-size-xs12px
Why AI-generated UIs all look the same: 12 rules that fix it

New route

Coastal trail in three days

A guided walk with two nights in small inns.

Distance
38 km
Climb
1,240 m
From
€340

Default spacing everywhere