Basic Carousel

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. We recommend using <button> elements, but you can also use <a> elements with role="button".

With indicators

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

Crossfade

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

With Caption

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.