List Group

Default Style

Defaut
Source Code
1
<!-- List Group -->
2
<ul class="list-group">
3
<li class="list-group-item">Cras justo odio</li>
4
<li class="list-group-item">Dapibus ac facilisis in</li>
5
<li class="list-group-item">Morbi leo risus</li>
6
<li class="list-group-item">Porta ac consectetur ac</li>
7
<li class="list-group-item">Vestibulum at eros</li>
8
</ul>
9
<!-- /list group -->
Copied!

Active item Style

Active Item
Source Code
1
<!-- List Group -->
2
<ul class="list-group">
3
<li class="list-group-item active">Cras justo odio</li>
4
<li class="list-group-item">Dapibus ac facilisis in</li>
5
<li class="list-group-item">Morbi leo risus</li>
6
<li class="list-group-item">Porta ac consectetur ac</li>
7
<li class="list-group-item">Vestibulum at eros</li>
8
</ul>
9
<!-- /list group -->
Copied!

Disable item Style

Disable Item
Source Code
1
<!-- List Group -->
2
<ul class="list-group">
3
<li class="list-group-item disabled">Cras justo odio</li>
4
<li class="list-group-item">Dapibus ac facilisis in</li>
5
<li class="list-group-item">Morbi leo risus</li>
6
<li class="list-group-item">Porta ac consectetur ac</li>
7
<li class="list-group-item">Vestibulum at eros</li>
8
</ul>
9
<!-- /list group -->
Copied!
Link & Button
Source Code
1
<!-- List Group -->
2
<div class="list-group">
3
<a href="javascript:void(0)" class="list-group-item list-group-item-action active">Cras justo odio</a>
4
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
5
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Morbi leo risus</a>
6
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Porta ac consectetur ac</a>
7
<a href="javascript:void(0)" class="list-group-item list-group-item-action disabled">Vestibulum at eros</a>
8
</div>
9
<!-- /list group -->
Copied!

Buttons Style

1
<!-- List Group -->
2
<div class="list-group">
3
<button type="button" class="list-group-item list-group-item-action active">Cras justo odio</button>
4
<button type="button" class="list-group-item list-group-item-action">Dapibus ac facilisis in</button>
5
<button type="button" class="list-group-item list-group-item-action">Morbi leo risus</button>
6
<button type="button" class="list-group-item list-group-item-action">Porta ac consectetur ac</button>
7
<button type="button" class="list-group-item list-group-item-action" disabled>Vestibulum at eros</button>
8
</div>
9
<!-- /list group -->
Copied!

Flush Style

Flush
Source Code
1
<!-- List Group -->
2
<ul class="list-group list-group-flush">
3
<li class="list-group-item">Cras justo odio</li>
4
<li class="list-group-item">Dapibus ac facilisis in</li>
5
<li class="list-group-item">Morbi leo risus</li>
6
<li class="list-group-item">Porta ac consectetur ac</li>
7
<li class="list-group-item">Vestibulum at eros</li>
8
</ul>
9
<!-- /list group -->
Copied!

Badge Style

Badge
Source Code
1
<!-- List Group -->
2
<ul class="list-group">
3
<li class="list-group-item d-flex justify-content-between align-items-center">
4
Cras justo odio
5
<span class="badge badge-primary badge-pill">14</span>
6
</li>
7
<li class="list-group-item d-flex justify-content-between align-items-center">
8
Dapibus ac facilisis in
9
<span class="badge badge-primary badge-pill">2</span>
10
</li>
11
<li class="list-group-item d-flex justify-content-between align-items-center">
12
Morbi leo risus
13
<span class="badge badge-primary badge-pill">1</span>
14
</li>
15
</ul>
16
<!-- /list group -->
Copied!

Custom Style

Custom
Source Code
1
<!-- List Group -->
2
<div class="list-group">
3
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start active">
4
<div class="d-flex w-100 justify-content-between">
5
<h3 class="mb-1 text-white">List group item heading</h3>
6
<small>3 days ago</small>
7
</div>
8
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
9
<small>Donec id elit non mi porta.</small>
10
</a>
11
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start">
12
<div class="d-flex w-100 justify-content-between">
13
<h3 class="mb-1">List group item heading</h3>
14
<small class="text-muted">3 days ago</small>
15
</div>
16
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
17
<small class="text-muted">Donec id elit non mi porta.</small>
18
</a>
19
<a href="javascript:void(0)" class="list-group-item list-group-item-action flex-column align-items-start">
20
<div class="d-flex w-100 justify-content-between">
21
<h3 class="mb-1">List group item heading</h3>
22
<small class="text-muted">3 days ago</small>
23
</div>
24
<p class="mb-1">Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.</p>
25
<small class="text-muted">Donec id elit non mi porta.</small>
26
</a>
27
</div>
28
<!-- /list group -->
Copied!

Contextual classes Style

Contextual
Source Code

Contextual classes Style

1
<!-- List Group -->
2
<ul class="list-group">
3
<li class="list-group-item">Dapibus ac facilisis in</li>
4
<li class="list-group-item list-group-item-primary">A simple primary list group item</li>
5
<li class="list-group-item list-group-item-secondary">A simple secondary list group item</li>
6
<li class="list-group-item list-group-item-success">A simple success list group item</li>
7
<li class="list-group-item list-group-item-danger">A simple danger list group item</li>
8
<li class="list-group-item list-group-item-warning">A simple warning list group item</li>
9
<li class="list-group-item list-group-item-info">A simple info list group item</li>
10
<li class="list-group-item list-group-item-light">A simple light list group item</li>
11
<li class="list-group-item list-group-item-dark">A simple dark list group item</li>
12
</ul>
13
<!-- /list group -->
Copied!
1
<!-- List Group -->
2
<div class="list-group">
3
<a href="javascript:void(0)" class="list-group-item list-group-item-action">Dapibus ac facilisis in</a>
4
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-primary">A simple primary list group item</a>
5
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-secondary">A simple secondary list group item</a>
6
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-success">A simple success list group item</a>
7
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-danger">A simple danger list group item</a>
8
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-warning">A simple warning list group item</a>
9
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-info">A simple info list group item</a>
10
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-light">A simple light list group item</a>
11
<a href="javascript:void(0)" class="list-group-item list-group-item-action list-group-item-dark">A simple dark list group item</a>
12
</div>
13
<!-- /list group -->
Copied!
Last modified 1yr ago