An official website of the United States government
Here’s how you know
Official websites use .gov A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS A
lock (
) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
A collection displays a compact list of multiple related items like articles or events. The list links each item to its original source.
About the collection component
The collection component offers users a way to view short descriptions of related content, providing a simple way to access the original source to learn more. It’s useful when you want to highlight information like articles, events, or documents that appear elsewhere on your website or from other sources.
Each item in the collection includes a headline that links to another page and (optionally) a small image, descriptive text, and metadata such as date, time, byline, and tags.
Items in a collection should be related. This could be by publication date (for instance, all the content was posted in the last week), by content type (all articles, events, or blog posts), or by subject (all items relate to the same topic or theme). Be selective about what content you show in each collection. Consider limiting the number of items in each collection to six or fewer.
Today, the Administration announces the winners of the Gears of
Government President’s Award. This program recognizes the contributions
of individuals and teams across the federal workforce who make a
profound difference in the lives of the American people.
In honor of National Women’s Small Business Month, we’ve partnered with
SBA’s Office of Government Contracting and Business Development and
Office of Program Performance, Analysis, and Evaluation to highlight the
Women-Owned Small Businesses (WOSBs) data dashboard!
Today, we published progress updates for both Cross-Agency Priority
(CAP) Goals and Agency Priority Goals (APGs) for the third quarter of
FY2020. These updates highlight recent milestones and accomplishments as
well as related initiatives that support progress towards a more modern
and effective government.
Today, the Administration announces the winners of the Gears of
Government President’s Award. This program recognizes the contributions
of individuals and teams across the federal workforce who make a
profound difference in the lives of the American people.
In honor of National Women’s Small Business Month, we’ve partnered with
SBA’s Office of Government Contracting and Business Development and
Office of Program Performance, Analysis, and Evaluation to highlight the
Women-Owned Small Businesses (WOSBs) data dashboard!
Today, we published progress updates for both Cross-Agency Priority
(CAP) Goals and Agency Priority Goals (APGs) for the third quarter of
FY2020. These updates highlight recent milestones and accomplishments as
well as related initiatives that support progress towards a more modern
and effective government.
Today, the Administration announces the winners of the Gears of
Government President’s Award. This program recognizes the contributions
of individuals and teams across the federal workforce who make a
profound difference in the lives of the American people.
In honor of National Women’s Small Business Month, we’ve partnered with
SBA’s Office of Government Contracting and Business Development and
Office of Program Performance, Analysis, and Evaluation to highlight the
Women-Owned Small Businesses (WOSBs) data dashboard!
Today, we published progress updates for both Cross-Agency Priority
(CAP) Goals and Agency Priority Goals (APGs) for the third quarter of
FY2020. These updates highlight recent milestones and accomplishments as
well as related initiatives that support progress towards a more modern
and effective government.
To feature content with its metadata. The collection component is a good option when displaying content that should be accompanied by limited metadata like tags, date/time, or source and attribution.
To group related content together. The collection component can provide links to articles from a trusted source, popular guides and resources, or a collection of pages that cover different aspects of a single topic.
To collect items from multiple sources. Use collections when you want to guide users to additional resources available elsewhere. Collections introduce themes that help users find what they’re looking for, including when it’s not on your site.
When to consider something else
Providing an archive of articles or pages. Consider limiting the number of items in each collection to six or fewer. If you need to allow users to search or browse a larger content catalog, consider using a separate index or archive page.
When you want to display large images or other media. Collections are meant to be compact. If you need something with large images or other media, consider using the card component. The card has a bigger footprint and provides more flexibility with large images and other media.
Usability guidance
Use thumbnail images consistently. If you use a thumbnail image on one item, use a similar kind of image (photo, illustration, etc.) on every item in the collection. Ensure icons or illustrations have clear meaning that add value or context to the content. Avoid repeating placeholder images.
Use a consistent width for images. Display item images with a consistent width. This promotes consistent alignment and easy scannability.
Avoid ambiguous, generic article links like “read more.” The heading for each item should link to the full content. Ensure each heading is clear, concise, and unique so users can quickly understand what the content is about. Don’t include additional links that take users to the same place.
Use a descriptive title. The collection’s title should make the collection’s theme clear — for example, “Recent posts,” “How-to videos,” or “Resources about flu shots.”
Link to additional related content, if applicable. Collections may not include every piece of content related to its theme. If there’s a location that collects more comprehensive results related to the theme, add a link to that location.
Provide a button or link to where more articles can be found. Users may need access to an index or archive where they can find more articles than those listed in the component.
Provide a strong “information scent” for each article. Use headings, teaser text, a thumbnail image, and meta information effectively to help users understand the value of each item and choose which ones to visit.
Indicate to the user if they’ll navigate to another website. A common way to do this is to add the external link class to the heading if the link takes you away from the current site.
Don’t force in-page scrolling. Display all collection items in a flexible container so it displays without forcing the user to scroll within a component container. You can help prevent this by limiting the number of items in the collection to six or fewer.
Accessibility guidance
Use unordered lists and list items. Use a ul for a collection and an li for each item. This allows screen readers to enumerate the items in the collection and allows shortcuts between list items.
Use the appropriate heading level for your page. Update heading levels based on the content of your page to make sure collection headings are in the correct logical outline order..
Each link should have a unique name. Those using assistive technology may collect all page links together. Unique names not only help these users distinguish between links, but help all users scan the page. Favor using link text itself to provide a unique name. Using a title attribute or aria-label to provide a unique name helps users of assistive technology, but doesn’t promote scannability in standard browsers.
Using the collection component
See the code samples on this page for examples of the content types available to a collection:
Heading
Description
Thumbnail image
Calendar date
Meta information
Collection settings
Variable
Description
$theme-collection-font-family
Font family for collection body.
$theme-collection-header-typeset
Family, size, and line height of the heading.
Collection variants
Variant
Description
.usa-collection--condensed
A more condensed item presentation with less space between items.
Package
Package usage:@forward "usa-collection";
Dependencies: uswds-fonts
Latest updates
Meaningful code and guidance updates are listed in the following table:
Removed extraneous href from collection calendar.
The usa-collection__calendar-date should not include an href, so we removed it.
More information:
uswds#4308