An unordered list does not have an order of importance or sequence.
Examples
An ordered list defines a specific sequence of items.
Examples
A definition list pairs a definition term with a definition description—both are required.
Examples
A centered list uses horizontal dividers between each list item. List items can be any length and this type of list is only one level deep.
Examples
This type of list is only one level deep and best used when there is an extensive list of items, like in-page navigation. It‘s similar to the centered list, but this list is one column at the xs breakpoint, two columns for the sm and md breakpoints, and three columns for the lg+ breakpoints.
Examples
An inline list places list items on a single line. Items will wrap as necessary.
Examples
Usage
Rules
- Do not use lists solely for layout purposes
- Do not try to replicate the look of a list with other elements—the semantics will be lost
Constraints
- Unordered lists do not imply semantic hierarchy, although they may infer hierarchy simply from reading flow
- Ordered lists indicate rank and order
Principle
- Use a list to organize, order, or in the case of a definition list, to group terms and definitions.
Accessibility
- Screen readers are not consistent in how they read definition lists, therefore it is not recommended to use them for FAQs or similar where the question/answer relationship may not be maintained
Class Names
list-bulleted Modifier |
Use |
list-dashed Modifier |
Use |
list-unstyled Modifier |
Use |
list-ordered Modifier |
Use |
dl-horizontal Modifier |
Use |
list-centered Modifier |
Use |
list-centered-grid Modifier |
Use |
list-inline Modifier |
Use |
small Modifier |
Use |
micro Modifier |
Use |
- Last updated April 6, 2018
- Authorable - Yes
- Core - Lists