Components
List
A list organizes information into discrete sequential sections.
Unordered list
- Unordered list item
- Unordered list item
- Unordered list item
Ordered list
- Ordered list item
- Ordered list item
- Ordered list item
Unstyled list
- Unstyled list item
- Unstyled list item
- Unstyled list item
Guidance
When to use the list component
- Ordered list: Use an ordered list when you need to display text in some ranking, hierarchy, or series of steps.
- Unordered list: Use unordered lists to display text in no specific order.
When to consider something else
- If you need to communicate long lists of narrative text.
Usability guidance
- Use sentence case and begin lists with a capital letter.
- Use punctuation appropriate to the text. Do not leave sentences without periods.
Using the list component
- Remove list styles with the unstyled variant. For unstyled lists, either add the
.usa-list--unstyled
class or use the Sass mixin:@include unstyled-list
.
List settings
This component has no settings.
List variants
Variant | Description |
---|---|
|
Remove list styles. |
Package
-
Package usage:
@forward "usa-list";
Latest updates
Meaningful code and guidance updates are listed in the following table:
Date | USWDS version | Affects | Description |
---|---|---|---|
2023-11-20 | N/A |
|
Added documentation for |
2022-04-28 | 3.0.0 |
|
Breaking Updated to Sass module syntax and new package structure. More information: uswds#4656 |