Skip to main content
Logo USWDS + Tailwind

Typography

Typography is understanding the relationship between font family, font size, and line height.

Font Size Normalization

Typefaces vary in optical size. This means that at any specific pixel value, an optically small typeface like Source Sans Pro will appear smaller than an optically large typeface like Merriweather. Optical size is a function of internal font metrics and typeface design choices like x-height.

Using “font size” classes (e.g. .text-lg) automically applies the font normalization multiplier to both the font-size and line-height attributes.

Using “line height” classes (e.g. .leading-tight) does not apply the multiplier, so use with caution.

Native Size

Normalized Size

Reference Chart

Supported typefaceMultiplierInitial sizeFinal size
Open Sans1.0116px16.16px
Public Sans1.016px16px
Merriweather0.9816px15.68px
Source Sans Pro1.0616px16.96px
Roboto Mono0.9516px15.2px
Georgia1.0516px16.8px
Helvetica1.0116px16.16px
Tahoma1.016px16px
Verdana0.9916px15.84px