@extends('layouts.master') @section('title') Carousel @endsection @section('css') @endsection @section('body') @endsection @section('content') @component('components.breadcrumb') @slot('page_title') Carousel @endslot @slot('subtitle') UI Elements @endslot @endcomponent

Slides only

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

With controls

Adding in the previous and next controls:

With indicators

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

With captions

Add captions to your slides easily with the .carousel-caption element within any .carousel-item.

Crossfade

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

@endsection @section('scripts') @endsection