<!-- Basic list group -->
<ul class="list-group">
<li class="list-group-item active">Active item here</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item disabled" aria-disabled="true">Disabled item here</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
// Basic list group
ul.list-group
li.list-group-item.active
| Active item here
li.list-group-item
| Dapibus ac facilisis in
li(aria-disabled="true").list-group-item.disabled
| Disabled item here
li.list-group-item
| Porta ac consectetur ac
li.list-group-item
| Vestibulum at eros
<!-- Actionalbe list group -->
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active">Active item here</a>
<a href="#" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
<a href="#" class="list-group-item list-group-item-action disabled" tabindex="-1" aria-disabled="true">Disabled item here</a>
<a href="#" class="list-group-item list-group-item-action">Porta ac consectetur ac</a>
<a href="#" class="list-group-item list-group-item-action">Vestibulum at eros</a>
</div>
// Actionalbe list group
.list-group
a(href="#").list-group-item.list-group-item-action.active
| Active item here
a(href="#").list-group-item.list-group-item-action
| Dapibus ac facilisis in
a(href="#", tabindex="-1", aria-disabled="true").list-group-item.list-group-item-action.disabled
| Disabled item here
a(href="#").list-group-item.list-group-item-action
| Porta ac consectetur ac
a(href="#").list-group-item.list-group-item-action
| Vestibulum at eros
<!-- Flush 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>
// Flush list group
ul.list-group.list-group-flush
li.list-group-item
| Cras justo odio
li.list-group-item
| Dapibus ac facilisis in
li.list-group-item
| Morbi leo risus
li.list-group-item
| Porta ac consectetur ac
li.list-group-item
| Vestibulum at eros
<!-- Basic horizontal list group (starting sm screen) -->
<ul class="list-group list-group-horizontal-sm">
<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>
</ul>
<!-- Justified horizontal list group (starting sm screen) -->
<ul class="list-group list-group-horizontal-sm">
<li class="list-group-item flex-fill text-center">Cras justo odio</li>
<li class="list-group-item flex-fill text-center">Dapibus ac facilisis in</li>
<li class="list-group-item flex-fill text-center">Morbi leo risus</li>
</ul>
// Basic horizontal list group (starting sm screen)
ul.list-group.list-group-horizontal-sm
li.list-group-item
| Cras justo odio
li.list-group-item
| Dapibus ac facilisis in
li.list-group-item
| Morbi leo risus
// Justified horizontal list group (starting sm screen)
ul.list-group.list-group-horizontal-sm
li.list-group-item.flex-fill.text-center
| Cras justo odio
li.list-group-item.flex-fill.text-center
| Dapibus ac facilisis in
li.list-group-item.flex-fill.text-center
| Morbi leo risus
<!-- Actionable horizontal list group (starting sm screen) -->
<div class="list-group list-group-horizontal-sm">
<a href="#" class="list-group-item list-group-item-action active text-center">Active item here</a>
<a href="#" class="list-group-item list-group-item-action text-center">Dapibus ac facilisis in</a>
<a href="#" class="list-group-item list-group-item-action text-center">Morbi leo risus</a>
</div>
// Actionable horizontal list group (starting sm screen)
.list-group.list-group-horizontal-sm
a(href="#").list-group-item.list-group-item-action.active.text-center
| Active item here
a(href="#").list-group-item.list-group-item-action.text-center
| Dapibus ac facilisis in
a(href="#").list-group-item.list-group-item-action.text-center
| Morbi leo risus
<!-- Basic horizontal list group (starting sm screen) -->
<ul class="list-group list-group-horizontal-sm">
<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>
</ul>
<!-- Justified horizontal list group (starting sm screen) -->
<ul class="list-group list-group-horizontal-sm">
<li class="list-group-item flex-fill text-center">Cras justo odio</li>
<li class="list-group-item flex-fill text-center">Dapibus ac facilisis in</li>
<li class="list-group-item flex-fill text-center">Morbi leo risus</li>
</ul>
// Basic horizontal list group (starting sm screen)
ul.list-group.list-group-horizontal-sm
li.list-group-item
| Cras justo odio
li.list-group-item
| Dapibus ac facilisis in
li.list-group-item
| Morbi leo risus
// Justified horizontal list group (starting sm screen)
ul.list-group.list-group-horizontal-sm
li.list-group-item.flex-fill.text-center
| Cras justo odio
li.list-group-item.flex-fill.text-center
| Dapibus ac facilisis in
li.list-group-item.flex-fill.text-center
| Morbi leo risus
<!-- List group with badges -->
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
Cras justo odio
<span class="badge badge-pill badge-primary">14</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Dapibus ac facilisis in
<span class="badge badge-pill badge-warning">2</span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
Morbi leo risus
<span class="badge badge-pill badge-danger">6</span>
</li>
</ul>
// List group with badges
ul.list-group
li.list-group-item.d-flex.justify-content-between.align-items-center
| Cras justo odio
span.badge.badge-pill.badge-primary
| 14
li.list-group-item.d-flex.justify-content-between.align-items-center
| Dapibus ac facilisis in
span.badge.badge-pill.badge-warning
| 2
li.list-group-item.d-flex.justify-content-between.align-items-center
| Morbi leo risus
span.badge.badge-pill.badge-danger
| 6
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
Donec id elit non mi porta.<!-- List group with custom content -->
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start active">
<div class="d-flex flex-wrap w-100 justify-content-between">
<h6>List group item heading</h6>
<small class="text-muted mb-2">3 days ago</small>
</div>
<p class="font-size-sm font-weight-normal text-body">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.</p>
<small class="text-muted">Donec id elit non mi porta.</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex flex-wrap w-100 justify-content-between">
<h6>List group item heading</h6>
<small class="text-muted mb-2">3 days ago</small>
</div>
<p class="font-size-sm font-weight-normal text-body">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.</p>
<small class="text-muted">Donec id elit non mi porta.</small>
</a>
<a href="#" class="list-group-item list-group-item-action flex-column align-items-start">
<div class="d-flex flex-wrap w-100 justify-content-between">
<h6>List group item heading</h6>
<small class="text-muted mb-2">3 days ago</small>
</div>
<p class="font-size-sm font-weight-normal text-body">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.</p>
<small class="text-muted">Donec id elit non mi porta.</small>
</a>
</div>
// List group with custom content
.list-group
a(href="#").list-group-item.list-group-item-action.flex-column.align-items-start.active
.d-flex.flex-wrap.w-100.justify-content-between
h6
| List group item heading
small.text-muted.mb-2
| 3 days ago
p.font-size-sm.font-weight-normal.text-body
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
small.text-muted
| Donec id elit non mi porta.
a(href="#").list-group-item.list-group-item-action.flex-column.align-items-start
.d-flex.flex-wrap.w-100.justify-content-between
h6
| List group item heading
small.text-muted.mb-2
| 3 days ago
p.font-size-sm.font-weight-normal.text-body
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
small.text-muted
| Donec id elit non mi porta.
a(href="#").list-group-item.list-group-item-action.flex-column.align-items-start
.d-flex.flex-wrap.w-100.justify-content-between
h6
| List group item heading
small.text-muted.mb-2
| 3 days ago
p.font-size-sm.font-weight-normal.text-body
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit. Excepteur sint occaecat cupidatat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit.
small.text-muted
| Donec id elit non mi porta.
<!-- JavaScript behavior -->
<div class="row">
<div class="col-md-4">
<div class="list-group" role="tablist">
<a href="#list-home" id="list-home-list" class="list-group-item list-group-item-action active" data-toggle="list" role="tab" aria-controls="list-home">
Home
</a>
<a href="#list-profile" id="list-profile-list" class="list-group-item list-group-item-action" data-toggle="list" role="tab" aria-controls="list-profile">
Profile
</a>
<a href="#list-messages" id="list-messages-list" class="list-group-item list-group-item-action" data-toggle="list" role="tab" aria-controls="list-messages">
Messages
</a>
<a href="#list-settings" id="list-settings-list" class="list-group-item list-group-item-action" data-toggle="list" role="tab" aria-controls="list-settings">
Settings
</a>
</div>
</div>
<div class="col-md-8 pt-4 pt-md-0">
<div class="tab-content">
<div id="list-home" class="tab-pane fade show active" role="tabpanel" aria-labelledby="list-home-list">...</div>
<div id="list-profile" class="tab-pane fade" role="tabpanel" aria-labelledby="list-profile-list">...</div>
<div id="list-messages" class="tab-pane fade" role="tabpanel" aria-labelledby="list-messages-list">...</div>
<div id="list-settings" class="tab-pane fade" role="tabpanel" aria-labelledby="list-settings-list">...</div>
</div>
</div>
</div>
// JavaScript behavior
.row
.col-md-4
.list-group(role="tablist")
a(href="#list-home", data-toggle="list", role="tab", aria-controls="list-home")#list-home-list.list-group-item.list-group-item-action.active
| Home
a(href="#list-profile", data-toggle="list" role="tab", aria-controls="list-profile")#list-profile-list.list-group-item.list-group-item-action
| Profile
a(href="#list-messages", data-toggle="list", role="tab", aria-controls="list-messages")#list-messages-list.list-group-item.list-group-item-action
| Messages
a(href="#list-settings", data-toggle="list", role="tab", aria-controls="list-settings")#list-settings-list.list-group-item.list-group-item-action
| Settings
.col-md-8.pt-4.pt-md-0
.tab-content
#list-home.tab-pane.fade.show.active(role="tabpanel", aria-labelledby="list-home-list")
| ...
#list-profile.tab-pane.fade(role="tabpanel", aria-labelledby="list-profile-list")
| ...
#list-messages.tab-pane.fade(role="tabpanel", aria-labelledby="list-messages-list")
| ...
#list-settings.tab-pane.fade(role="tabpanel", aria-labelledby="list-settings-list")
| ...