- element, and the .list-group-item class to the
- element:
## Example
- First Item
- Second Item
- Third Item
- Active List Item
- Second Item
- Third Item
- Disabled Item
- Second Item
- Third Item
Bootstrap5 List Groups
Bootstrap 5 List Group is a component used to display a series of items or content, commonly used to display navigation, tags, menus, or other similar list forms.
The list group component provides a flexible way to display ordered or unordered content, allowing customization of each item's style, interaction, and layout.
### Basic Structure
Bootstrap 5 List Group consists of the following parts:
* **`.list-group`**: Container for wrapping the entire list.
* **`.list-group-item`**: Each list item, usually containing text, links, or other content.
* **`.list-group-item-action`**: Makes list items clickable, commonly used to create interactive lists.
* **`.list-group-item-primary`**, etc.: Used to add different background colors or other styles to list items.
Most basic list groups are unordered.
!(#)
To create a list group, you can add the .list-group class to the
YouTip