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.

  • Google Drive
  • Facebook Messenger
  • Apple Technology Company
  • Intercom Support System
  • Paypal Payment Gateway

Active items

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

  • Google Drive
  • Facebook Messenger
  • Apple Technology Company
  • Intercom Support System
  • Paypal Payment Gateway

Disabled items

Add .disabled to a .list-group-item to make it appear disabled.

  • Google Drive
  • Facebook Messenger
  • Apple Technology Company
  • Intercom Support System
  • Paypal Payment Gateway

Links and Buttons

Use <a>s or <button>s to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action.

Paypal Payment Gateway Google Drive Intercom Support System

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

  • Google Drive
  • Facebook Messenger
  • Apple Technology Company
  • Intercom Support System
  • Paypal Payment Gateway

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.

  • Google
  • Whatsapp
  • Facebook
  • Apple
  • PayPal
  • Intercom
  • Google
  • Whatsapp
  • Facebook

Contextual classes

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

  • Dapibus ac facilisis in
  • 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.

  • Gmail Emails 14
  • Pending Payments 2
  • Action Needed 99+
  • Payments Done 20
  • Messages 16+

Checkboxes and radios

And if you want <label>s as the .list-group-item for large hit areas, you can do that, too.

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

Numbered List

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.

  1. Subheading
    Cras justo odio
    14
  2. Subheading
    Cras justo odio
    14
  3. Subheading
    Cras justo odio
    14