List groups are a flexible and powerful component for displaying a series of content. Read the Official Bootstrap Documentation for a full list of instructions and other options.
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.
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
Add active class to a .list-group-item
to indicate the current active selection.
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item active">Dapibus ac facilisis in</li>
...
</ul>
Add disabled class to a .list-group-item
to indicate the current active selection.
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item disabled">Dapibus ac facilisis in</li>
...
</ul>
Use link tag or button to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action
.
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active">Cras justo odio</a>
<a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
...
</div>
A list that contain an image with the help of utility classes.
<li class="list-group-item d-flex align-items-center">
<img src="https://via.placeholder.com/350" class="wd-30 rounded-circle mg-r-15" alt="">
<div>
<h6 class="tx-13 tx-inverse tx-semibold mg-b-0">Adrian Monino</h6>
<span class="d-block tx-11 text-muted">Premium Member</span>
</div>
</li>