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.

  • Slack Collaboration
  • Nextcloud File Sharing
  • Zoom Video Meetings
  • Stripe Billing System
Active Items

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

  • Slack Collaboration
  • Nextcloud File Sharing
  • Zoom Video Meetings
  • Notion Workspace
  • Stripe Billing System
Disabled Items

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

  • Slack Collaboration
  • Nextcloud File Sharing
  • Zoom Video Meetings
  • Notion Workspace
  • Stripe Billing System
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.

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

  • Slack Collaboration
  • Nextcloud File Sharing
  • Zoom Video Meetings
  • Notion Workspace
  • Stripe Billing System
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.

  1. SmartOne Admin
    SmartOne Admin
    865
  2. SmartOne React Admin
    SmartOne React Admin
    140
  3. Angular Version
    Angular Version
    85
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
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|xxl} to make a list group horizontal starting at that breakpoint’s min-width.

  • Slack
  • Zoom
  • Trello
  • Notion
  • Stripe
  • Dropbox
  • GitHub
  • Discord
  • Asana
With Badges

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

  • New Task Assignments 5
  • Upcoming Meetings 3
  • System Notifications 15+
  • Completed Projects 8
  • Overdue Tasks 2
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.