Documentation v1.0.6

Preview Upgrade to Pro

Overview

Jet HTML Free customizes the Bootstrap Carousel  through the SASS variables in src/sass/components/_variables.scss and adds additonal options in src/sass/components/_carousel.scss.

Dots Indicators

Add .carousel-custom and .carousel-indicators-dots classes for a custom carousel with dots indicators style:
<div id="kt_carousel_1_carousel" class="carousel carousel-custom slide" data-bs-ride="carousel" data-bs-interval="8000">
    <!--begin::Heading-->
    <div class="d-flex align-items-center justify-content-between flex-wrap">
        <!--begin::Label-->
        <span class="fs-4 fw-bolder pe-2">Title</span>
        <!--end::Label-->

        <!--begin::Carousel Indicators-->
        <ol class="p-0 m-0 carousel-indicators carousel-indicators-dots">
            <li data-bs-target="#kt_carousel_1_carousel" data-bs-slide-to="0" class="ms-1 active"></li>
            <li data-bs-target="#kt_carousel_1_carousel" data-bs-slide-to="1" class="ms-1"></li>
            <li data-bs-target="#kt_carousel_1_carousel" data-bs-slide-to="2" class="ms-1"></li>
        </ol>
        <!--end::Carousel Indicators-->
    </div>
    <!--end::Heading-->

    <!--begin::Carousel-->
    <div class="carousel-inner pt-8">
        <!--begin::Item-->
        <div class="carousel-item active">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->
    </div>
    <!--end::Carousel-->
</div>

Bullet Indicators

Add .carousel-custom and .carousel-indicators-bullet classes for a custom carousel with bullet indicators style:
<div id="kt_carousel_2_carousel" class="carousel carousel-custom slide" data-bs-ride="carousel" data-bs-interval="8000">
    <!--begin::Heading-->
    <div class="d-flex align-items-center justify-content-between flex-wrap">
        <!--begin::Label-->
        <span class="fs-4 fw-bolder pe-2">Title</span>
        <!--end::Label-->

        <!--begin::Carousel Indicators-->
        <ol class="p-0 m-0 carousel-indicators carousel-indicators-bullet">
            <li data-bs-target="#kt_carousel_2_carousel" data-bs-slide-to="0" class="ms-1 active"></li>
            <li data-bs-target="#kt_carousel_2_carousel" data-bs-slide-to="1" class="ms-1"></li>
            <li data-bs-target="#kt_carousel_2_carousel" data-bs-slide-to="2" class="ms-1"></li>
        </ol>
        <!--end::Carousel Indicators-->
    </div>
    <!--end::Heading-->

    <!--begin::Carousel-->
    <div class="carousel-inner pt-8">
        <!--begin::Item-->
        <div class="carousel-item active">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->
    </div>
    <!--end::Carousel-->
</div>

Theme Colors

Add .carousel-custom and carousel-indicators-active-{color} where color accepts one of Theme Colors  to apply a color to the indicator's active state.
<div id="kt_carousel_3_carousel" class="carousel carousel-custom slide" data-bs-ride="carousel" data-bs-interval="8000">
    <!--begin::Heading-->
    <div class="d-flex align-items-center justify-content-between flex-wrap">
        <!--begin::Label-->
        <span class="fs-4 fw-bolder pe-2">Title</span>
        <!--end::Label-->

        <!--begin::Carousel Indicators-->
        <ol class="p-0 m-0 carousel-indicators carousel-indicators-bullet carousel-indicators-active-primary">
            <li data-bs-target="#kt_carousel_3_carousel" data-bs-slide-to="0" class="ms-1 active"></li>
            <li data-bs-target="#kt_carousel_3_carousel" data-bs-slide-to="1" class="ms-1"></li>
            <li data-bs-target="#kt_carousel_3_carousel" data-bs-slide-to="2" class="ms-1"></li>
        </ol>
        <!--end::Carousel Indicators-->
    </div>
    <!--end::Heading-->

    <!--begin::Carousel-->
    <div class="carousel-inner pt-8">
        <!--begin::Item-->
        <div class="carousel-item active">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->

        <!--begin::Item-->
        <div class="carousel-item">
            ...
        </div>
        <!--end::Item-->
    </div>
    <!--end::Carousel-->
</div>
Upgrade To Pro
Pro Version Benefits Free Pro
UI Elements 20 100
In-house Components 20 40
Crafted Pages 5 20
Complete Documentation
Product Support
Layout Builder
Source Vectors
Email Templates
Calendar App
User Management App
Chat App
Customers App
Upgrade to Jet HTML Free
Learn & Get Inspired

Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Documentation
From guides and how-tos, to live demos and code examples to get started right away.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now