Here’s a carousel with slides
Adding in the previous and next controls with c-carousel-controls component.
Adding in the previous and next controls with custom content of c-carousel-controls component.
You can attach the indicators to the carousel, lengthwise the controls, too.
You can add captions to slides with the <c-carousel-caption> element
within any <c-carousel-item>. They can be immediately hidden on
smaller viewports, as shown below, with optional display
utilities.
We hide them with .d-none and draw them back on medium-sized devices with
.d-md-block.
{{ slide.subtitle }}
Add transition="crossfade" to your carousel to animate slides
with a fade transition instead of a slide.
{{ slide.subtitle }}
Add dark property to the c-carousel for darker controls,
indicators, and captions. Controls have been inverted from their default white fill
with the filter CSS property. Captions and controls have additional Sass
variables that customize the color and background-color.
{{ slide.subtitle }}