Accordion
Accordion Basic
This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
This is the second item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
This is the third item's accordion body. It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Accordion Item #1
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Accordion Item #2
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
</div>
Accordion Icon
This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
This is the first item's accordion body. It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the .accordion-body
, though the transition does limit overflow.
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
<i data-feather="alert-triangle" class="me-3" style="width: 20px;"></i>
Accordion Item #1
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<i data-feather="bell" class="me-3" style="width: 20px;"></i>
Accordion Item #2
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<i data-feather="box" class="me-3" style="width: 20px;"></i>
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" data-bs-parent="#accordionExample">
<div class="accordion-body">
<p class="fs-14"><strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.</p>
</div>
</div>
</div>
</div>
Accordion In List
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
- This is the second item's accordion body It is hidden by default, until the collapse.
<div class="accordion" id="accordionExample3">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne3" aria-expanded="true" aria-controls="collapseOne3">
Accordion Item #1
</button>
</h2>
<div id="collapseOne3" class="accordion-collapse collapse show" data-bs-parent="#accordionExample3">
<div class="accordion-body">
<ul class="mb-0">
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-0">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo3" aria-expanded="false" aria-controls="collapseTwo3">
Accordion Item #2
</button>
</h2>
<div id="collapseTwo3" class="accordion-collapse collapse" data-bs-parent="#accordionExample3">
<div class="accordion-body">
<ol class="mb-0">
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-0">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
</ol>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree4" aria-expanded="false" aria-controls="collapseThree4">
Accordion Item #3
</button>
</h2>
<div id="collapseThree4" class="accordion-collapse collapse" data-bs-parent="#accordionExample3">
<div class="accordion-body">
<ul class="mb-0 list-unstyled ps-0">
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-2">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
<li class="fs-14 mb-0">
This is the second item's accordion body It is hidden by default, until the collapse.
</li>
</ul>
</div>
</div>
</div>
</div>
Accordion Form & Avatar
<div class="accordion" id="accordionExample4">
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne4" aria-expanded="true" aria-controls="collapseOne4">
Form
</button>
</h2>
<div id="collapseOne4" class="accordion-collapse collapse show" data-bs-parent="#accordionExample4">
<div class="accordion-body">
<form>
<div class="row">
<div class="col-lg-6 col-sm-6">
<div class="form-group mb-3">
<input type="text" class="form-control" placeholder="Enter Name">
</div>
</div>
<div class="col-lg-6 col-sm-6">
<div class="form-group mb-3">
<input type="email" class="form-control" placeholder="Enter Email">
</div>
</div>
</div>
<div class="form-group mb-3">
<button class="btn rounded-2 w-100 d-block">Submit</button>
</div>
</form>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo5" aria-expanded="false" aria-controls="collapseTwo5">
Avatar Initials
</button>
</h2>
<div id="collapseTwo5" class="accordion-collapse collapse" data-bs-parent="#accordionExample4">
<div class="accordion-body">
<ul class="ps-0 mb-0 list-unstyled d-flex align-items-center">
<li>
<span class="wh-100 bg-primary text-white fw-medium d-inline-block fs-30 align-items-center d-flex justify-content-center rounded-2">AG</span>
</li>
<li class="ms-3">
<span class="wh-80 bg-success text-white fw-medium d-inline-block fs-25 align-items-center d-flex justify-content-center rounded-circle">AG</span>
</li>
<li class="ms-3">
<span class="wh-60 bg-danger text-white fw-medium d-inline-block fs-20 align-items-center d-flex justify-content-center rounded-3">AG</span>
</li>
<li class="ms-3">
<span class="wh-40 bg-warning text-white fw-medium d-inline-block fs-15 align-items-center d-flex justify-content-center">AG</span>
</li>
</ul>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree6" aria-expanded="false" aria-controls="collapseThree6">
Avatar Group
</button>
</h2>
<div id="collapseThree6" class="accordion-collapse collapse" data-bs-parent="#accordionExample4">
<div class="accordion-body">
<div class="d-flex justify-content-between">
<!-- Total Avatar -->
<ul class="ps-0 mb-0 list-unstyled d-flex align-items-center">
<li>
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-1.jpg" alt="user-1">
</li>
<li class="ms-minus-20">
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-2.jpg" alt="user-2">
</li>
<li class="ms-minus-20">
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-3.jpg" alt="user-3">
</li>
<li class="ms-minus-20">
<span class="wh-60 rounded-circle border border-2 border-white box-shadow bg-primary text-white fw-medium d-inline-block fs-15 align-items-center d-flex justify-content-center">50</span>
</li>
</ul>
<!-- Add Avatar -->
<ul class="ps-0 mb-0 list-unstyled d-flex align-items-center">
<li>
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-1.jpg" alt="user-1">
</li>
<li class="ms-minus-20">
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-2.jpg" alt="user-2">
</li>
<li class="ms-minus-20">
<img class="wh-60 rounded-circle border border-2 border-white box-shadow" src="assets/images/user/user-3.jpg" alt="user-3">
</li>
<li class="ms-minus-20">
<a href="javascript:;" class="wh-60 rounded-circle border border-2 border-white box-shadow bg-primary text-white fw-medium d-inline-block fs-20 align-items-center d-flex justify-content-center text-decoration-none">+</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>