- An item
- A second item
- A third item
- A fourth item
- And a fifth one
List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within.
The most basic list group is an unordered list with list items and the proper classes. Build upon it with the options that follow, or with your own CSS as needed.
Add .active
to a .list-group-item
to indicate the current active selection.
Add .list-group-flush
to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).
Use contextual classes to style list items with a stateful background and color.
Add badges to any list group item to show unread counts, activity, and more with the help of some utilities.
Add nearly any HTML within, even for linked list groups like the one below,
with the help of flexbox utilities.