Skip to main content
An official website of the United States government

Prose

A component used to format a block of running text.

Usage

Prose is meant for blocks of text where it’s more difficult to add custom classes to individual elements, such as a blog post where the content is coming out of markdown or a content management system.

Where to use

  • Use the prose component within any container to add NCIDS default heading and body text styling to the following direct-child elements:

Accessibility

  • Ensure that content is written in plain language and easy to understand. If complex words are used, provide a glossary or definition within your content.
  • Keep heading levels logical for screen reader accessibility and usability. Headings should be nested appropriately and use heading text that describes the content nested below it.
  • Ensure that users can navigate between sections using a keyboard. This means that a user should be able to easily navigate through headings, text sections, and links in your content using their keyboard.
  • Test to see how your text responds to zoom magnification. Text should retain functionality when screen is magnified.

Code Snippets

Component Preview

Line length

Max-Width: 88ex; 90-105 characters. Yosemite National Park is set within California’s Sierra Nevada mountains. It’s famed for its giant, ancient sequoias, and for Tunnel View, the iconic vista of towering Bridalveil Fall and the granite cliffs of El Capitan and Half Dome.

Spacing

Page heading

Great Smoky Mountains National Park straddles the border of North Carolina and Tennessee.

Section heading

Section of the page

The sprawling landscape encompasses lush forests and an abundance of wildflowers that bloom year-round. Streams, rivers and waterfalls appear along hiking routes that include a segment of the Appalachian Trail.

Subsection of the page

World renowned for its diversity of plant and animal life, the beauty of its ancient mountains, and the quality of its remnants of Southern Appalachian mountain culture, this is America's most visited national park.

Right now scientists think that we only know about 17 percent of the plants and animals that live in the park, or about 17,000 species of a probable 100,000 different organisms.

Subsection of the page

Entrance to Great Smoky Mountains National Park is free. The park is one of the few national parks where no entrance fees are charged.

  • Unordered list item
  • Unordered list item
  • Unordered list item
    • Nested unordered list item
    • Nested unordered list item
      • 3rd level nesting
      • 3rd level nesting
      • 3rd level nesting
    • Nested unordered list item
    • Nested unordered list item

Right now scientists think that we only know about 17 percent of the plants and animals that live in the park, or about 17,000 species of a probable 100,000 different organisms.

  1. Ordered list item
  2. Ordered list item
    1. Nested ordered list item
    2. Nested ordered list item
    3. Nested ordered list item
    4. Nested ordered list item
  3. Ordered list item
Bordered table
Document titleDescriptionYear
Declaration of IndependenceStatement adopted by the Continental Congress declaring independence from the British Empire.1776
Bill of RightsThe first ten amendments of the U.S. Constitution guaranteeing rights and freedoms.1791
Declaration of SentimentsA document written during the Seneca Falls Convention outlining the rights that American women should be entitled to as citizens.1848
Emancipation ProclamationAn executive order granting freedom to slaves in designated southern states.1863

External Links

External link icons will appear automatically when using the usa-prose class based on the domain variables set for your site.

However, there are also options to manually force an external link icon to display or to hide the icon, regardless of whether the link is internal or external. Learn more about how to use the global settings to set internal links and bypass default settings, if needed.

<div class="usa-prose">
<a href="https://www.google.com">External Link Example</a><br/>
<a href="https://www.cancer.gov" class="usa-link usa-link--external">Internal Link Icon Override (Show)</a><br/>
<a href="https://www.google.com" class="usa-link" data-ncids-internal-link>External Link Icon Override (Hide)</a>
</div>

Packages

Import this Sass partial into your stylesheet.

@forward "usa-prose";