Choose from a variety of Cardinal list types for structure and grouping of content.
Use lists to present straightforward data or items. Also, lists can be nested in other components, such as cards or tabs.
Consult the following table when considering whether to present data in a list or table.
| Item Type | Example | How to Present |
|---|---|---|
| Single unit | A list of policy names, or a list of steps to follow | Use an unstyled, styled, ordered, inline, or link list |
| Pair or parts of related data | Definition pairs or a list of terms | Use a description list |
| Three or more parts of related data | A set of parameters where each has a name, data type, and description | Use a table |
A set of items in which the order does not explicitly matter.
Use for a general list of text without an order requirement or other specific indicator.
Use for a specific list of text with an order, priority, or sequence requirement.
Use an inline list to align items of similar value in a single line with or without a divider.
A set of vertical or horizontal links for navigation to both internal and external web sites. Or, for downloading items such as images or other HTML elements.
A set of terms each with a description or further explanation.
A list item is a paragraph that begins with a label. For styled lists, bullet characters may be used as the label. For ordered lists, the label can be a number. Use periods only where the bullet item completes a sentence, otherwise avoid them. (*per TA style guide)
By default, list items are conveyed as a group of related elements to assistive technology users. Use standard text formating conventions to create simple lists of related items.
Labels must be:
For each list in the text content, verify that:
Columns: Lists can be laid out in columns based on the Cardinal 1D grid system. The max number of columns allowable for lists is 3 to allow for a clean page layout with plenty of white space.
Sidebars: Lists can also be used in sidebars to display content other than the navigation and main articles of the product site. For example, a side filter for data relating to the site’s product.
Left align all lists to achieve strong vertical order.
When constructing a list, ensure:
Use a grid to create list columns in the overall page layout.
Use spacers to standardize margin and padding across list types.