List Group
BASIC EXAMPLE

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.

  • An item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
				
  • An item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
ACTIVE ITEMS

Add .active to a .list-group-item to indicate the current active selection.

  • An active item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
				
  • An active item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
DISABLED ITEMS

Add .active to a .list-group-item to indicate the current active selection.

  • A disabled item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
				
  • A disabled item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
LINKS AND BUTTONS
FLUSH

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).

  • An item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
				
  • An item
  • A second item
  • A third item
  • A fourth item
  • And a fifth one
HORIZONTAL

Add .list-group-horizontal to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant .list-group-horizontal-{sm|md|lg|xl} to make a list group horizontal starting at that breakpoint’s min-width.

  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
				
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
  • An item
  • A second item
  • A third item
CONTEXTUAL CLASSES

Use contextual classes to style list items with a stateful background and color.

  • A simple default list group item
  • A simple primary list group item
  • A simple secondary list group item
  • A simple success list group item
  • A simple danger list group item
  • A simple warning list group item
  • A simple info list group item
  • A simple light list group item
  • A simple dark list group item
				
  • A simple default list group item
  • A simple primary list group item
  • A simple secondary list group item
  • A simple success list group item
  • A simple danger list group item
  • A simple warning list group item
  • A simple info list group item
  • A simple light list group item
  • A simple dark list group item
WITH BADGES

Add badges to any list group item to show unread counts, activity, and more with the help of some utilities.

  • A list item 14
  • A second list item 2
  • A third list item 1
				
  • A list item 14
  • A second list item 2
  • A third list item 1
CHECKBOXES AND RADIOS

Place Bootstrap’s checkboxes and radios within list group items and customize as needed. You can use them without label s, but please remember to include an aria-label attribute and value for accessibility.

  • First checkbox
  • Second checkbox
  • Third checkbox
  • Fourth checkbox
  • Fifth checkbox
				
  • First checkbox
  • Second checkbox
  • Third checkbox
  • Fourth checkbox
  • Fifth checkbox
NUMBERED

Numbers are generated by counter-reset on the ol, and then styled and placed with a ::before psuedo-element on the li with counter-increment and content. p

  1. Subheading
    Content for list item
    14
  2. Subheading
    Content for list item
    14
  3. Subheading
    Content for list item
    14
				
  1. Subheading
    Content for list item
    14
  2. Subheading
    Content for list item
    14
  3. Subheading
    Content for list item
    14