Carousel

These modular elements can be readily used and customized in every layout across pages.

Bootstrap Carousel

A slideshow component for cycling through elements—images or slides of text—like a carousel. View Carousel on Bootstrap

Basic Example
<div class="carousel slide h-100 carousel-slider" id="carouselIndicators" data-bs-ride="carousel">
  <div class="carousel-inner">
    <div class="carousel-item active">
      <div class="row">
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/01.jpg" alt="First slide" /></div>
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/02.jpg" alt="Second slide" /></div>
      </div>
    </div>
    <div class="carousel-item">
      <div class="row">
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/03.jpg" alt="First slide" /></div>
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/04.jpg" alt="Second slide" /></div>
      </div>
    </div>
    <div class="carousel-item">
      <div class="row">
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/05.jpg" alt="First slide" /></div>
        <div class="col-6"><img class="d-block w-100" src="../assets/img/gallery/2/06.jpg" alt="Second slide" /></div>
      </div>
    </div>
  </div><button class="carousel-control-prev ms-5" type="button" data-bs-target="#carouselIndicators" data-bs-slide="prev"><span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="visually-hidden">Previous</span></button><button class="carousel-control-next me-4" type="button" data-bs-target="#carouselIndicators" data-bs-slide="next"><span class="carousel-control-next-icon" aria-hidden="true"></span><span class="visually-hidden">Next	</span></button>
  <div class="row mt-6">
    <div class="col position-relative">
      <div class="carousel-indicators"><button class="active" type="button" data-bs-target="#carouselIndicators" data-bs-slide-to="0" aria-current="true" aria-label="Slide 1" style="background:#007AFF"></button><button type="button" data-bs-target="#carouselIndicators" data-bs-slide-to="1" aria-label="Slide 2" style="background:#007AFF"></button><button type="button" data-bs-target="#carouselIndicators" data-bs-slide-to="2" aria-label="Slide 3" style="background:#007AFF"></button></div>
    </div>
  </div>
</div>
With Captions
<div class="carousel slide" id="carouselExampleIndicators" data-bs-ride="carousel">
  <div class="carousel-indicators"><button class="active" type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" aria-current="true" aria-label="Slide 1"></button><button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1" aria-label="Slide 2"></button></div>
  <div class="carousel-inner">
    <div class="carousel-item active"><img class="d-block w-100" src="../assets/img/gallery/3/07.jpg" alt="First slide" />
      <div class="carousel-caption d-none d-md-block">
        <h5 class="text-white">First Slide Heading</h5>
        <p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
      </div>
    </div>
    <div class="carousel-item"><img class="d-block w-100" src="../assets/img/gallery/3/08.jpg" alt="Second slide" />
      <div class="carousel-caption d-none d-md-block">
        <div class="carousel-caption d-none d-md-block">
          <h5 class="text-white">First Slide Heading</h5>
          <p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
        </div>
      </div>
    </div>
  </div>
</div>
Crossfade Example
<div class="carousel slide carousel-fade" id="carouselExampleFade" data-bs-ride="carousel">
  <div class="carousel-inner">
    <div class="carousel-item active"><img class="d-block w-100" src="../assets/img/60.jpg" alt="First slide" /></div>
    <div class="carousel-item"><img class="d-block w-100" src="../assets/img/58.jpg" alt="Second slide" /></div>
    <div class="carousel-item"><img class="d-block w-100" src="../assets/img/61.jpg" alt="Third slide" /></div>
  </div>
  <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Previous</span>
  </button><button class="carousel-control-next" type="button" data-bs-target="#carouselExampleFade" data-bs-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="visually-hidden">Next</span>
  </button>
</div>