List Group

Default Style

Defaut
Source Code
Defaut
Source Code
<!-- List Group -->
<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>
<!-- /list group -->

Active item Style

Active Item
Source Code
Active Item
Source Code
<!-- List Group -->
<ul class="list-group">
<li class="list-group-item active">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>
<!-- /list group -->

Disable item Style

Disable Item
Source Code
Disable Item
Source Code
<!-- List Group -->
<ul class="list-group">
<li class="list-group-item disabled">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>
<!-- /list group -->
Link & Button
Source Code
Link & Button
Source Code
<!-- List Group -->
<div class="list-group">
<a href="javascript:void(0)" class="list-group-item list-group-item-action active">Cras justo odio</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Morbi leo risus</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Porta ac consectetur ac</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action disabled">Vestibulum at eros</a>
</div>
<!-- /list group -->

Buttons Style

<!-- List Group -->
<div class="list-group">
<button type="button" class="list-group-item list-group-item-action active">Cras justo odio</button>
<button type="button" class="list-group-item list-group-item-action">Dapibus ac facilisis in</button>
<button type="button" class="list-group-item list-group-item-action">Morbi leo risus</button>
<button type="button" class="list-group-item list-group-item-action">Porta ac consectetur ac</button>
<button type="button" class="list-group-item list-group-item-action" disabled>Vestibulum at eros</button>
</div>
<!-- /list group -->

Flush Style

Flush
Source Code
Flush
Source Code
<!-- List Group -->
<ul class="list-group list-group-flush">
<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>
<!-- /list group -->

Badge Style

Badge
Source Code
Badge
Source Code
<!-- List Group -->
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
Cras justo odio
<span class="badge badge-primary badge-pill">14</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Dapibus ac facilisis in
<span class="badge badge-primary badge-pill">2</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Morbi leo risus
<span class="badge badge-primary badge-pill">1</span>
</li>
</ul>
<!-- /list group -->

Custom Style

Custom
Source Code
Custom
Source Code
<!-- List Group -->
<div class="list-group">
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start active">
<div class="d-flex w-100 justify-content-between">
<h3 class="mb-1 text-white">List group item heading</h3>
<small>3 days ago</small>
</div>
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
<small>Donec id elit non mi porta.</small>
</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h3 class="mb-1">List group item heading</h3>
<small class="text-muted">3 days ago</small>
</div>
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
<small class="text-muted">Donec id elit non mi porta.</small>
</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex w-100 justify-content-between">
<h3 class="mb-1">List group item heading</h3>
<small class="text-muted">3 days ago</small>
</div>
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
<small class="text-muted">Donec id elit non mi porta.</small>
</a>
</div>
<!-- /list group -->

Contextual classes Style

Contextual
Source Code
Contextual
Source Code

Contextual classes Style

<!-- List Group -->
<ul class="list-group">
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item list-group-item-primary">A simple primary list group item</li>
<li class="list-group-item list-group-item-secondary">A simple secondary list group item</li>
<li class="list-group-item list-group-item-success">A simple success list group item</li>
<li class="list-group-item list-group-item-danger">A simple danger list group item</li>
<li class="list-group-item list-group-item-warning">A simple warning list group item</li>
<li class="list-group-item list-group-item-info">A simple info list group item</li>
<li class="list-group-item list-group-item-light">A simple light list group item</li>
<li class="list-group-item list-group-item-dark">A simple dark list group item</li>
</ul>
<!-- /list group -->
<!-- List Group -->
<div class="list-group">
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-primary">A simple primary list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-secondary">A simple secondary list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-success">A simple success list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-danger">A simple danger list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-warning">A simple warning list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-info">A simple info list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-light">A simple light list group item</a>
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-dark">A simple dark list group item</a>
</div>
<!-- /list group -->