Skip to main content

An official website of the United States government

Here's how you know

An official website of the United States government

Here's how you know

Theme:

Design system switcher

Version:

Design system switcher

Theme:

Design system switcher

Version:

Design system switcher

Body

Body text is used for the majority of the content on the website or application.

Notice:

Typography sizing updates!

We've updated typography sizing variables and class names to separate semantics from presentation. Read about how you can update.

Examples

Large body text

.ds-text-body--lg

We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.

Medium body text

.ds-text-body--md

We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.

Small body text

.ds-text-body--sm

We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.

Code

Style customization

The following CSS variables can be overridden to change the type sizes:

  • --font-size-lg
  • --font-size-md, uses --font-size-base
  • --font-size-sm

Guidance

Accessibility