Lists
Lists are continuous, vertical indexes of text or images.
The List
component is composed of items containing primary and supplemental actions, which are represented by icons and text. Lists are optimized for reading comprehension. A list consists of a single continuous column of subdivisions called rows that contain items of content.
Basic List
A .u-list
is a wrapper for multiple .u-list__item
elements. This component is used as a building block for other components, or may contain elements which can behave as text or links.
List Links with Icons and Multiline Text
This example illustrates using .u-list--avatar-list
and .u-list__item__icon
, and multiline text with primary and secondary text styles.
List with Secondary Action
The following demonstrates support for an icon, checkbox, or radio controls to be associated with a list item. Text and icon buttons are also acceptable.
If including form controls, include aria-label
on the input (see radio), or if labeled by the list text, use a label
as the element for .u-list__item__text
and include the for
attribute for the input's id
.