# Carousel

A slideshow component for cycling through elements—images or slides of text—like a carousel. Read the Official Bootstrap Documentation for a full list of instructions and other options.

#### Slides only

Here’s a carousel with slides only. Note the presence of the `.d-block` and `.w-100` on carousel images to prevent browser default image alignment.

#### With controls

Adding in the previous and next controls:

Previous Next

#### With indicators

You can also add the indicators to the carousel, alongside the controls, too.

Previous Next

#### With captions

Add captions to your slides easily with the `.carousel-caption` element within any `.carousel-item`. They can be easily hidden on smaller viewports, as shown below, with optional display utilities. We hide them initially with `.d-none` and bring them back on medium-sized devices with `.d-md-block`.

##### First slide label

Nulla vitae elit libero, a pharetra augue mollis interdum.

##### Second slide label

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

##### Third slide label

Praesent commodo cursus magna, vel scelerisque nisl consectetur.

Previous Next

#### Crossfade

Add `.carousel-fade` to your carousel to animate slides with a fade transition instead of a slide.

Previous Next