LIST

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.

Basic List

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. You can copy html part from below code snippet.

Basic Code Example

<ul class="list-group-item"> <li>Lorem, ipsum.</li> <li>Lorem ipsum dolor sit.</li> </ul>

  • Lorem, ipsum.
  • Lorem ipsum dolor sit.
  • Lorem, ipsum dolor.
  • lorem
  • Lorem ipsum dolor sit amet.

Active List

The active list group is an unordered list with list items and the proper classes. Add .active to a list to indicate the current active selection. Build upon it with the options that follow, or with your own CSS as needed. You can copy html part from below code snippet.

Active Code Example

<ul class="list-group-item"> <li class="active">Lorem, ipsum.</li> <li>Lorem ipsum dolor sit.</li> </ul>

  • Lorem, ipsum.
  • Lorem ipsum dolor sit.
  • Lorem, ipsum dolor.
  • lorem
  • Lorem, ipsum dolor sit amet.

Disabled List

Add .disabled to a list to make it appear disabled. Note that some elements with .disabled will also require custom JavaScript to fully disable their click events (e.g., links). You can copy html part from below code snippet.

Disabled Code Example

<ul class="list-group-item"> <li class="disabled">Lorem, ipsum.</li> <li>Lorem ipsum dolor sit.</li> </ul>

  • Lorem, ipsum.
  • Lorem ipsum dolor sit.
  • Lorem, ipsum dolor.
  • lorem
  • Lorem, ipsum dolor sit amet.

Badges List

Add .disabled to a list to add badges. Add badges to any list group item to show unread counts, activity, and more with the help of some utilities. You can copy html part from below code snippet.

Badges Code Example

<ul class="list-group-item"> <li class="badge">Lorem, ipsum.</li> <li>Lorem ipsum dolor sit.</li> </ul>

  • Lorem, ipsum.

    12
  • Lorem ipsum dolor sit.

    1
  • Lorem, ipsum dolor.

    7