Use List...
- To display related items in a vertical arrangement.
- To place a series of links inside Left Hand Navigation.
- To describe steps, instructions, or rules.
Don't use List...
- To present unrelated items.
The preview has been updated.
Checkmarks
Use skin="checkmark"
to replace the bullets with checkmark icons.
The preview has been updated.
Minimal
Use skin="minimal"
to remove the bullets from the list. This is useful for accessibility, as it allows you to use proper list semantics without visible list styling.
The preview has been updated.
Ordered List
Use <Ol>
to replace the bullets with stylized numbers.
The preview has been updated.
Link List
Use <LinkList>
to provide standard styling for a series of links, such as inside Left Hand Navigation.
The preview has been updated.
Icon Bullet List
Use <BulletListIcon>
to set a custom icon for each item instead of a "bullet".
The preview has been updated.
Alternates
We provide alternative names to some of our List components. This is just for user convenience and we do not prefer one over another.
<List> | <Ul> |
<OrderedList> | <Ol> |
<ListItem> | <Li> |
Accessibility
If a List has a heading, the List itself should have an aria-labelledby
attribute whose value is the id of the heading.