Accordion

Default

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the first item's accordion body.

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the second item's accordion body. Let's imagine this being filled with some actual content.

Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the third item's accordion body. Nothing more exciting happening here in terms of content, but just filling up the space to make it look, at least at first glance, a bit more representative of how this would look in a real-world application.

Custom Accordions

This is the first 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 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.

    <!--Custom accordion-->
    <div class="accordion accordion-custom" id="accordionCustomExample">
      <!--accordion item-->
      <div class="accordion-item mb-3">
           <!--accordion header-->
          <h2 class="accordion-header" id="headingCustomOne">
              <button class="accordion-button" type="button" data-bs-toggle="collapse"
                  data-bs-target="#collapseCustomOne" aria-expanded="true"
                  aria-controls="collapseCustomOne">
                  Custom Accordion Item #1
              </button>
          </h2>
           <!--accordion detail-->
          <div id="collapseCustomOne" class="accordion-collapse collapse show"
              aria-labelledby="headingCustomOne" data-bs-parent="#accordionCustomExample">
              <div class="accordion-body">
                  <strong>This is the first 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.
              </div>
          </div>
      </div>
      <!--accordion item-->
      <div class="accordion-item mb-3">
           <!--accordion header-->
          <h2 class="accordion-header" id="headingCustomTwo">
              <button class="accordion-button collapsed" type="button"
                  data-bs-toggle="collapse" data-bs-target="#collapseCustomTwo"
                  aria-expanded="false" aria-controls="collapseCustomTwo">
                  Custom Accordion Item #2
              </button>
          </h2>
           <!--accordion details-->
          <div id="collapseCustomTwo" class="accordion-collapse collapse"
              aria-labelledby="headingCustomTwo" data-bs-parent="#accordionCustomExample">
              <div class="accordion-body">
                  <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.
              </div>
          </div>
      </div>
      <!--accordion item-->
      <div class="accordion-item">
           <!--accordion header-->
          <h2 class="accordion-header" id="headingCustomThree">
              <button class="accordion-button collapsed" type="button"
                  data-bs-toggle="collapse" data-bs-target="#collapseCustomThree"
                  aria-expanded="false" aria-controls="collapseCustomThree">
                  Custom Accordion Item #3
              </button>
          </h2>
           <!--accordion details-->
          <div id="collapseCustomThree" class="accordion-collapse collapse"
              aria-labelledby="headingCustomThree" data-bs-parent="#accordionCustomExample">
              <div class="accordion-body">
                  <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.
              </div>
          </div>
      </div>
  </div>

Let's start building stunning websites

Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.