A lightweight ES6 JavaScript plugin to build carousels for modern browsers.

flexCarousel.js gives you the ability to create accessible, customisable and user friendly carousels with no additional dependencies.

NPM downloads per month
  • 1
  • 2
  • 3
  • 4
  • 5


Feel free to use npm to add flexCarousel.js to your project. The package includes the source and distribution files but no documentation.

npm install flexcarouseljs


Instead of hosting the two required files locally, feel free to use the CDN links provided by jsDelivr.


<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flexcarouseljs@1.0.0/dist/flexCarousel.min.css">


<script src="https://cdn.jsdelivr.net/npm/flexcarouseljs@1.0.0/dist/flexCarousel.min.js"></script>


Play around with all of the customisation options available for flexCarousel.js by using CodePen, a playground for developers.