List Groups

1.

Basic Examples

List groups are a flexible and powerful component for displaying a series of content.

List Groups: Basic Example #1.01

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.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Morbi leo risus
  • Porta ac consectetur ac
  • Vestibulum at eros
List Groups: Active Items #1.02

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

  • Cras justo odio
  • Dapibus ac facilisis in
  • Morbi leo risus
  • Porta ac consectetur ac
  • Vestibulum at eros
List Groups: Disabled Items #1.03

Add .disabled to a .list-group-item 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).

  • Cras justo odio
  • Dapibus ac facilisis in
  • Morbi leo risus
  • Porta ac consectetur ac
  • Vestibulum at eros
List Groups: Links and Buttons #1.04

Use <a>s or <button>s to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action. We separate these pseudo-classes to ensure list groups made of non-interactive elements (like <li>s or <div>s) don’t provide a click or tap affordance.

List Groups: Links and Buttons (Disabled) #1.05

UWith <button>s, you can also make use of the disabled attribute instead of the .disabled class. Sadly, <a>s don’t support the disabled attribute.

List Groups: Flush #1.06

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

  • Cras justo odio
  • Dapibus ac facilisis in
  • Morbi leo risus
  • Porta ac consectetur ac
  • Vestibulum at eros
List Groups: Contextual classes #1.07

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

  • 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
List Groups: Contextual classes (Active) #1.08

Contextual classes also work with .list-group-item-action. Note the addition of the hover styles here not present in the previous example. Also supported is the .active state; apply it to indicate an active selection on a contextual list group item.

List Groups: With badges #1.09

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

  • Cras justo odio 14
  • Dapibus ac facilisis in 2
  • Morbi leo risus 1
List Groups: JavaScript Behavior #1.11

Use the tab JavaScript plugin—include it individually or through the compiled bootstrap.js file—to extend our list group to create tabbable panes of local content.

2.

UI Examples

The most commonly used UI/UX elements in applications.

List Groups: Media: Default #2.01
List Groups: Media: Left Default #2.02
List Groups: Media: Color Header #2.02
List Groups: Media: Right Badge #2.03
List Groups: Media: Color Text #2.04
List Groups: Media: Right Pill #2.05
List Groups: Media: Status Icon #2.06
List Groups: Media: Right Icon #2.07
List Groups: Media: Right Button #2.08
List Groups: Media: Right Icon #2.09
List Groups: Media: Left Icons Single #2.10
List Groups: Media: Right Checkbox #2.11
List Groups: Media: Right Radio #2.12
List Groups: Media: Left Checkbox #2.13
List Groups: Media: Left Radio #2.14
Configurator
Nav Color
Nav Style