Breadcrumb
  1. Home
  2. Design System
  3. Foundation
  4. Typography

Typography

Typography requires clear, easy-to-read text and consistent headings. Use this guide to format text elements.

U.S. Web Design System (USWDS) design tokens

Use the USWDS design tokens for typography, spacing units, color, and other style elements.

Typeface

Our primary typeface is Source Sans Pro. It’s open-source and sans-serif. It uses different font weights users can read at all sizes and that provide clear headings.

Font weight

We use three font weight tokens for all text styles.

Font size

Our websites use a rem-based, font-sizing system. Font sizes are multiples of the website’s root font size. The root font size is set at 100%. 

You can calculate type scale based on a 16 pixel (px) reference point. Our font size tokens range from 4 (smallest) to 13 (largest).

Final pixel value for each token (target font size) varies based on the font family. USWDS uses a normalization coefficient for each font family to create the target font size. For the Open Sans font family, the coefficient is 1.06.

Line Height

Use token 3 (1.35 rem) line height for all headings and token 4 (1.5 rem) line height for all other text styles.

Spacing

Use rem-based spacing between text with USWDS tokens.

spacing token: 4

 

32 px / 2 rem

spacing token: 3

 

24 px / 1.5 rem

spacing token: 2

 

16 px / 1 rem

spacing token: 1.5

 

12 px / 0.75 rem

spacing token: 1

 

8 px / 0.5 rem

Date Last Reviewed: