Components
Prose
Format a block of running text.
Passed WCAG 2.1 AA
Line length
75 characters (68ex) max-width: 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.
- Ordered list item
-
Ordered list item
- Nested ordered list item
- Nested ordered list item
- Nested ordered list item
- Nested ordered list item
- Ordered list item
Document title | Description | Year |
---|---|---|
Declaration of Independence | Statement adopted by the Continental Congress declaring independence from the British Empire. | 1776 |
Bill of Rights | The first ten amendments of the U.S. Constitution guaranteeing rights and freedoms. | 1791 |
Declaration of Sentiments | A document written during the Seneca Falls Convention outlining the rights that American women should be entitled to as citizens. | 1848 |
Emancipation Proclamation | An executive order granting freedom to slaves in designated southern states. | 1863 |
Guidance
Accessibility guidance
Using the prose component
usa-prose
is meant for blocks of text where it’s more difficult to add custom classes to individual elements, like a blog post where the content is coming out of markdown or a CMS.- Adding
usa-prose
to any container adds USWDS default heading and body text styling to the following direct-child elements:h1
-h6
p
ul
andol
, plus childli
table
, plus childthead
,th
,td
, andcaption
- Customize line-length by changing the value of
$theme-text-measure
and$theme-lead-measure
in your USWDS settings configuration. Each setting accepts a measure token.$theme-text-measure
$theme-lead-measure
Prose settings
This component has no settings.
Prose variants
This component has no variants.
Accessibility test status
The USWDS team did 4 tests based on WCAG 2.1 AA success criteria.
Total tests |
Passed
|
Passed with exceptions
|
Conditional
|
Failed
|
---|---|---|---|---|
4 | 2 | 0 | 2 | 0 |
Overview of recent accessibility test results:
Learn more on the prose accessibility tests page.
Package
-
Package usage:
@forward "usa-prose";
- Dependencies:
uswds-fonts
Latest updates
Meaningful code and guidance updates are listed in the following table:
Date | USWDS version | Affects | Description |
---|---|---|---|
2024-05-15 | N/A |
|
Added WCAG compliance tag and accessibility test status section. More information: uswds-site#2613 |
2023-06-09 | 3.5.0 |
|
Added |
2023-06-09 | 3.5.0 |
|
Breaking
Removed |
2022-04-28 | 3.0.0 |
|
Breaking Updated to Sass module syntax and new package structure. More information: uswds#4656 |