Bootstrap List Group

Last updated

Bootstrap's list group for simple lists of items or links, with color variants and badges. Good for menus, resource lists and status lists.

Demonstration

Static, with badges

  • An active item
  • An item with a badge 14
  • A success item
  • A disabled item

Linked, with an active item

Bootstrap List Group Settings

List Mode: Static uses semantic list markup. Linked uses actionable link items.

Flush: Remove outer borders and rounded corners for edge-to-edge use, especially inside Cards.

Numbered: Use an ordered list and Bootstrap-generated numbering.

Horizontal Layout: Leave Vertical for the default stacked list, or choose the breakpoint where items become horizontal.

Items: Add and reorder List Group items. Each one has:

  • Item Text: The text shown for this item.
  • Link: Required for a clickable item in Linked mode.
  • Active: Mark this as the current or selected item.
  • Disabled: Disabled linked items render as non-clickable content.
  • Item Variant: Apply a contextual List Group item color.
  • Badge Text: Optional text or count displayed at the end of the item.
  • Badge Variant: Uses the shared Bootstrap palette.

Enable Advanced Classes: Replace generated flush, numbered, and horizontal modifiers with hand-entered Bootstrap classes. Required list-group classes remain automatic.

Advanced List Group Classes: Space-separated modifiers and utilities; do not include list-group. Example: list-group-flush list-group-horizontal-md mb-3.