The JavaScript Carousel control allows users to display images with content, links, and more, like a slide show. Typical uses of carousels include scrolling news headlines, featured articles on home pages, and image galleries.
Carousal provides flexible ways to create slides with items or a data source. Configure the look and feel of the Carousel to match your requirement using several built-in options.
Navigate among slides smoothly with built-in “slide” and “cross-fade” animation effects. You can also provide custom animation effects.
Carousel slide transitions are performed continuously in specified time intervals. You can also customize the time intervals.
Carousel’s looping functionality allows users to loop back to the first item after reaching the last item.
Customize the appearance of any part of the Carousel interface using HTML and CSS styles.
Allows the users to change the previous and next slides.
Users can control the auto play slide functionality by using the play button.
Users can show or hide the indicators to the carousel. Indicators provide quick navigation to any slide.
Developers can control the appearance and behaviors of the Carousel control using a rich set of APIs.
The HTML5/JavaScript Carousel control supports built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.
The Carousel component is also available in Blazor, React, Angular, and Vue frameworks. Check out the component on other platforms using these links:
Easily get started with the JavaScript Carousel using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript Carousel Example that shows you how to render and configure a Carousel in JavaScript.
<div class="control-container">
<div id="carousel"></div>
</div>
import { Carousel } from "@syncfusion/ej2-navigations";
const carouselObj = new Carousel({
items: [
{ template: '<figure class="img-container"><img data-src="https://ej2.syncfusion.com/products/images/carousel/cardinal.png" alt="cardinal" style="height:100%;width:100%;" /><figcaption class="img-caption">Cardinal</figcaption></figure>' },
{ template: '<figure class="img-container"><img data-src="https://ej2.syncfusion.com/products/images/carousel/hunei.png" alt="kingfisher" style="height:100%;width:100%;" /><figcaption class="img-caption">Kingfisher</figcaption></figure>' },
{ template: '<figure class="img-container"><img data-src="https://ej2.syncfusion.com/products/images/carousel/costa-rica.png" alt="keel-billed-toucan" style="height:100%;width:100%;" /><figcaption class="img-caption">Keel-billed-toucan</figcaption></figure>' },
{ template: '<figure class="img-container"><img data-src="https://ej2.syncfusion.com/products/images/carousel/kaohsiung.png" alt="yellow-warbler" style="height:100%;width:100%;" /><figcaption class="img-caption">Yellow-warbler</figcaption></figure>' },
{ template: '<figure class="img-container"><img data-src="https://ej2.syncfusion.com/products/images/carousel/bee-eater.png" alt="bee-eater" style="height:100%;width:100%;" /><figcaption class="img-caption">Bee-eater</figcaption></figure>' }
],
});
carouselObj.appendTo("#carousel");
The Syncfusion JavaScript Carousel control supports the following features:
We do not sell the JavaScript Carousel separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the JavaScript Carousel. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our JavaScript Carousel demo, which demonstrates how to render and configure Carousel.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our JavaScript Carousel, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Carousel control alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.