Skip to content
Writing
Mar 2026 1 min read

Fonts are an API

Treating typography as a versioned, measured interface — not a decoration — changes how a frontend ages.

FrontendTypographyPerformance

A font file is a dependency. It has a size, a license, a load cost, and a blast radius when it changes. We would never ship a 400kb library without thinking; we ship 400kb of fonts every day.

Variable fonts are the closest the web has to a typographic API: one file, a continuous design space, addressed by axes. Self-host them, subset them, and measure the layout shift like you would measure a query.

The payoff is a frontend that feels intentional at every weight and size — and a performance budget you can actually defend in review.

Comments

Loading comments…