Collection
Display related articles, events, or other items in a compact collection, with heading, calendar, and thumbnail examples.
Examples
Default
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024px- Today, the Administration announces the winners of the Gears of Government President's Award. This program recognizes contributions across the federal workforce.
- By Sondra Ainsworth and Constance Lu
- NEW
- PMA
- OMB
- In honor of National Women's Small Business Month, this dashboard highlights data about women-owned small businesses.
- By Constance Lu
- SBA
- Progress updates highlight recent milestones and initiatives across federal agencies.
- By Eric L. Miller
- QUARTERLY UPDATE
- CAP GOAL
- APG
collection-demo.tsx
Headings Only
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024pxcollection-headings-demo.tsx
Calendar
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024px- Today, the Administration announces the winners of the Gears of Government President's Award. This program recognizes contributions across the federal workforce.
- In honor of National Women's Small Business Month, this dashboard highlights data about women-owned small businesses.
- Progress updates highlight recent milestones and initiatives across federal agencies.
collection-calendar-demo.tsx
Media Thumbnail
Breakpoints
Mobile
320pxMobile Lg
480pxTablet
640pxDesktop
1024px
Today, the Administration announces the winners of the Gears of Government President's Award. This program recognizes contributions across the federal workforce.- By Sondra Ainsworth and Constance Lu
- NEW
- PMA
- OMB
In honor of National Women's Small Business Month, this dashboard highlights data about women-owned small businesses.- By Constance Lu
- SBA
collection-thumbnail-demo.tsx
Component API
Use List and Item for a collection of related entries. Choose the calendar or thumbnail parts for the media in each item.
Root<div>
Place List inside Root.
List<ul>
Contains collection entries.
Item<li>
Use startElement for media before the entry text.
| Prop | Type | Description |
|---|---|---|
startElement | ReactNode | Adds media or another leading element. |
Heading<div>
Styles the entry heading.
Description<div>
Put the entry summary below Heading.
MetaList<ul>
Groups entry metadata.
MetaListItem<li>
Use one item per metadata value.
Calendar<time>
Displays a date block.
| Prop | Type | Description |
|---|---|---|
dateTime | Date (required) | Supplies the month and day text and the time element date. |
CalendarDate<div>
Displays the day number.
CalendarMonth<div>
Displays the month label.
Thumbnail<div>
Holds thumbnail media.