28 Free Carousel, Slider and Swiper Libraries for JavaScript, React, Vue, and Svelte

28 Free Carousel, Slider and Swiper Libraries for JavaScript, React, Vue, and Svelte

In web development, carousels, sliders, and swipers are essential for creating dynamic, responsive, and visually appealing galleries. This blog post explores 28 free libraries for JavaScript, React, Vue, and Svelte, offering developers a variety of tools to build stunning, mobile-responsive interfaces.

Whether you're creating a gallery, building a swiper for a mobile app, or designing a responsive slider for a website, these libraries provide the functionality and flexibility you need to enhance user experience and engage your audience.

This post is tailored for developers looking to integrate efficient, responsive, and user-friendly carousels into their projects, whether for gallery web development, mobile apps, or responsive web designs.

Here is the best libraries.

1- Swiper

Swiper is a free, modern mobile touch slider designed for mobile websites, web apps, and native/hybrid apps. It features hardware-accelerated transitions and delivers a smooth, native-like experience. Swiper is optimized for modern platforms, focusing on providing the best user experience and simplicity, making it ideal for developers building contemporary mobile applications.

Primary Features of Swiper

  • Supports several frameworks as jQuery, React, Zepto, jQuery Mobile, Vue
  • Mobile friendly
  • Touch Ready
  • Transition Effects
  • Two-way Control
  • Full Navigation Control
  • Images Lazy Loading
  • History navigation
  • Mousewheel control
  • Rich API
  • RTL Swiper
GitHub - nolimits4web/swiper: Most modern mobile touch slider with hardware accelerated transitions
Most modern mobile touch slider with hardware accelerated transitions - nolimits4web/swiper

2- Embla

Embla is a free and open-source A lightweight carousel library with fluid motion and great swipe precision. It comes with a rich plugin system.

A lightweight carousel library with fluid motion and great swipe precision
A lightweight carousel library with fluid motion and great swipe precision

3- Carousel.JS

A simple Javascript carousel with no library dependencies, with lazy image loading and support for multiple image sources for the same item depending on device size.

GitHub - poppa/carousel-js: A simple Javascript carousel with no library dependency and lazy image loading
A simple Javascript carousel with no library dependency and lazy image loading - poppa/carousel-js

4- Slick

This is a free and minimal slider that is easy to use and configure.

GitHub - kenwheeler/slick: the last carousel you’ll ever need
the last carousel you’ll ever need. Contribute to kenwheeler/slick development by creating an account on GitHub.

5- Hooper (Vue.js)

Vue.js carousel component, optimized to work with all Vue versions.

Features

  • Easily customizable through rich API and addons.
  • Touch, Keyboard, Mouse Wheel, and Navigation support.
  • Two way control carousels (sync).
  • Full RTL layout support.
  • Supports vertical sliding.
  • Responsive breakpoints.
  • Seamless infinite scroll.
  • Accessible by providing a robust structure and user control.
  • Optimized to work with Vue framework.
  • SSR Support.
GitHub - baianat/hooper: 🎠 A customizable accessible carousel slider optimized for Vue
🎠 A customizable accessible carousel slider optimized for Vue - baianat/hooper

6- Tiny-Swiper

Ingenious JavaScript Carousel powered by wonderful plugins. Lightweight yet extensible. Import plugins as needed, No more, no less.

GitHub - joe223/tiny-swiper: Ingenious JavaScript Carousel powered by wonderful plugins. Lightweight yet extensible. Import plugins as needed, No more, no less.
Ingenious JavaScript Carousel powered by wonderful plugins. Lightweight yet extensible. Import plugins as needed, No more, no less. - joe223/tiny-swiper

7- Splide

Splide is a lightweight, flexible and accessible slider and carousel.
No dependencies, no Lighthouse errors.

Features

  • Written in TypeScript
  • SEO friendly
  • No dependencies
  • Lightweight, 29kB (12kB gzipped)
  • Flexible and extensible
  • Protected by 400+ test cases
  • Multiple slides
  • Slide or fade transition by CSS
  • Supports breakpoints
  • Accepts CSS relative units
  • Autoplay with progress bar and a play-pause toggle button
  • RTL and vertical direction
  • Mouse drag and touch swipe
  • Free drag mode
  • Mouse wheel navigation
  • Nested slider
  • Lazy loading
  • Thumbnail slider
  • Auto width and height
  • Accessibility friendly
  • Live Region
  • Internet Explorer 10
GitHub - Splidejs/splide: Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors. - Splidejs/splide

7- Blaze Slider

Blaze slider is a high-performance JavaScript UI library for creating sliders.

Features

  • Fastest Slider Library
  • Packed with Features
  • Zero Layout Shifts
  • Full TypeScript support
  • CSS Media-Query-based Responsive configuration
  • No slide cloning
  • Extremely small bundle size (2kB)
GitHub - blaze-slider/blaze-slider: The Fastest slider library for high performance websites
The Fastest slider library for high performance websites - blaze-slider/blaze-slider

8- Siema

Siema is a lightweight (only 3kb gzipped) carousel plugin with no dependencies and no styling. 

GitHub - pawelgrzybek/siema: Siema - Lightweight and simple carousel in pure JavaScript
Siema - Lightweight and simple carousel in pure JavaScript - pawelgrzybek/siema

9- Simple Slider

Simple Slider is a carousel micro library based on the requestAnimationFrame API. It makes for a highly testable implementation and less css-dependent.

Features of Simple Slider

  • Small size, less than 1.1kb minified/gzipped
  • Support to UMD: AMD, CommonJS and global definition
  • Uses requestAnimationFrame for animations
  • Supports Page visibility API to pause/resume transitions when user navigates away from the page
  • Accept ease functions to customize the transition animation
  • Lots of ready-to-use examples available, just check the example folder
  • Animates any numerical css property
GitHub - ruyadorno/simple-slider: :carousel_horse: The 1kb JavaScript Carousel
:carousel_horse: The 1kb JavaScript Carousel. Contribute to ruyadorno/simple-slider development by creating an account on GitHub.

10- Egjs Flicking

This is a free lightweight yet powerful swiper and slider library for JavaScript projects.

Features

  • Works with React, Vue and Angular
  • Supports all modern browsers
  • Responsive
  • Plugins-ready
  • Autoplay
  • SSR
  • Written with TypeScript
  • Rich API
Flicking

11- Glide.js

Glide.js is a lightweight, flexible, and fast JavaScript ES6 slider and carousel that is completely dependency-free. At just ~23kb (~7kb gzipped), it includes all essential functionalities, with the option to remove unused modules for even lighter performance.

Glide.js is also extendable, allowing developers to add custom modules, and is fully compatible with bundlers like Rollup and Webpack, making it a powerful and versatile tool for creating smooth sliding experiences.

GitHub - glidejs/glide: A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more
A dependency-free JavaScript ES6 slider and carousel. It’s lightweight, flexible and fast. Designed to slide. No less, no more - glidejs/glide

12- Solid Slider

This TypeScript carousel/slider for SolidJS is built on Keen-Slider 6, a high-performance, open-source touch slider with native swipe behavior. It offers multitouch support, compatibility with all common browsers, and has no dependencies.

The package provides both primitive & directive options, as well as components, allowing you to choose based on your needs. For better SSR (Server-Side Rendering) support, using the component is recommended over the directive.

GitHub - davedbase/solid-slider: A carousel/slider implementation for SolidJS.
A carousel/slider implementation for SolidJS. . Contribute to davedbase/solid-slider development by creating an account on GitHub.

13- React Cool Virtual (React)

A tiny React hook for rendering large datasets like a breeze.

Features

  • ♻️ Renders millions of items with highly performant DOM recycling.
  • 🎣 Easy to use, based on React hooks.
  • πŸ’…πŸΌ Simple styling setup with minimal hassle.
  • 🧱 Supports fixed, variable, dynamic, and real-time heights/widths.
  • πŸ–₯ Responsive Web Design (RWD) support for improved UX.
  • πŸ“Œ Supports sticky headers for building modern lists.
  • 🚚 Built-in load more callback for handling infinite scroll and skeleton screens.
  • πŸ–± Imperative scroll-to methods for offset, items, and alignment.
  • πŸ›Ή Out-of-the-box smooth scrolling with customizable effects.
  • πŸ’¬ Supports stick-to-bottom and pre-pending items for chat and feeds.
  • β›³ Provides isScrolling indicator for UI placeholders or performance optimization.
  • πŸ—„οΈ Supports server-side rendering (SSR) for fast FP + FCP and better SEO.
  • πŸ“œ TypeScript type definitions included.
  • πŸŽ› Super flexible API design with developer experience (DX) in mind.
  • πŸ¦” Tiny size (~3.1kB gzipped) with no external dependencies other than React.
GitHub - wellyshen/react-cool-virtual: 😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
😎 ♻️ A tiny React hook for rendering large datasets like a breeze. - wellyshen/react-cool-virtual

14- Tiny Slider 2

This is a free and open-source tinu slider that is inspired by Owl Carousel.

Features

  • Orientation: Horizontal, Vertical
  • Width: Percentage, Fixed, Auto
  • Looping: Loop, Rewind
  • Navigation: Slide by, Arrow keys, Touch/drag, Custom controls/nav
  • Layout: Gutter, Edge padding, Center alignment (v2.9.2+), Responsive, Auto height
  • Performance: Lazyload, Autoplay, DOM visibility response
  • Interactivity: Custom events, Nested support
  • Accessibility: Built-in accessibility features
GitHub - ganlanyuan/tiny-slider: Vanilla javascript slider for all purposes.
Vanilla javascript slider for all purposes. Contribute to ganlanyuan/tiny-slider development by creating an account on GitHub.

This is Tiny (1Kb gzipped) JavaScript carousel library with all the features needed for a small web projects.

GitHub - zoltantothcom/vanilla-js-carousel: Tiny (1Kb gzipped) JavaScript carousel with all the features most of us will ever need.
Tiny (1Kb gzipped) JavaScript carousel with all the features most of us will ever need. - zoltantothcom/vanilla-js-carousel

Owl Carousel 2 is a highly customizable and responsive jQuery plugin designed for creating modern and versatile carousels and sliders. It offers a wide range of features, including support for both horizontal and vertical orientations, looping, autoplay, lazy loading, and touch/drag navigation.

  • Responsive Design: Adapts seamlessly to different screen sizes and devices.
  • Orientation: Supports both horizontal and vertical carousels.
  • Looping: Infinite looping of slides for continuous scrolling.
  • Autoplay: Automatically cycles through slides with customizable speed.
  • Lazy Loading: Loads images on demand to improve performance.
  • Touch/Drag Support: Enables smooth navigation via touch gestures and dragging.
  • Navigation: Customizable controls for next/prev buttons and pagination.
  • Center Mode: Center-aligns the active slide with surrounding slides partially visible.
  • Edge Padding: Adds padding to the edges of the carousel.
  • Slide by: Allows sliding by a specific number of items.
  • Gutter Spacing: Adjusts the spacing between slides.
  • Rewind: Returns to the first slide after reaching the end.
  • Auto Height: Adjusts the carousel height based on the current slide.
  • Custom Events: Provides event hooks for integrating custom behaviors.
  • Accessibility: Built with accessibility in mind to ensure inclusivity.
  • Nested Carousels: Supports multiple carousels within each other.
Home | Owl Carousel | 2.3.4
Touch enabled jQuery plugin that lets you create beautiful responsive carousel slider.

17- Carousel

This is a small lightweight and flexible Carousel class that allows you to build fully functional, advanced Carousels with minimal javascript and markup.

This library is built using native vanilla javascript (for performance) and adheres to latest ECMAScript specs. Supports IE10+, all major browsers and even mobile.

GitHub - markcellus/carousel-js: Easily implement a dynamic carousel using minimal javascript. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.
Easily implement a dynamic carousel using minimal javascript. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap. - markcellus/carousel-js

Carousel-Carousel is a minimalist and lightweight JavaScript library designed to create simple, accessible, and responsive carousels. Focused on providing a straightforward solution for building carousels, this library emphasizes ease of use and compatibility across different devices and screen sizes.

Carousel-Carousel ensures a smooth user experience with features like keyboard navigation, touch support, and customizable options, all while maintaining a small footprint without external dependencies.

It is an ideal library for developers who need a basic yet functional carousel solution, Carousel-Carousel is perfect for integrating into any web project with minimal setup.

GitHub - estelle/carousel-carousel: Script for creating simple, accessible carousels
Script for creating simple, accessible carousels. Contribute to estelle/carousel-carousel development by creating an account on GitHub.

19- Vue Agile

Vue-Agile is a powerful and responsive carousel component for Vue.js, inspired by Slick. It’s touch-friendly, supports Server-Side Rendering (SSR) with Nuxt.js, and operates without any jQuery dependency.

Vue-Agile is designed to provide a seamless, modern carousel experience for Vue.js applications, offering flexibility and ease of use for developers.

GitHub - lukaszflorczak/vue-agile: 🎠 A carousel component for Vue.js
🎠 A carousel component for Vue.js. Contribute to lukaszflorczak/vue-agile development by creating an account on GitHub.

20- Image Slider

This slider is made with html css and js. It uses jquery to fade between images automatically and through navigation buttons or through pagination bullets. This Slider is Made/Customized for standard use, as a banner or ad slider.

GitHub - ArslanAmeer/Ui-Component-Minimal-Slider: A Simple πŸ‘Œ Elegent πŸ’Ž and Minimal ( ⛏ Customized) *Responsive* πŸ“± Slider Made with HTML CSS & JQuery.
A Simple πŸ‘Œ Elegent πŸ’Ž and Minimal ( ⛏ Customized) *Responsive* πŸ“± Slider Made with HTML CSS & JQuery. - ArslanAmeer/Ui-Component-Minimal-Slider

The awesome carousel component for Svelte 3.

GitHub - vadimkorr/svelte-carousel: The awesome carousel component for Svelte 3 :art:
The awesome carousel component for Svelte 3 :arrow_left: :art: :arrow_right: - GitHub - vadimkorr/svelte-carousel: The awesome carousel component for Svelte 3 :art:

Minimal carousel component for React.

GitHub - amio/re-carousel: Minimal carousel component for React.
Minimal carousel component for React. Contribute to amio/re-carousel development by creating an account on GitHub.

23- Accessible Slick

Accessible-Slick is a modified version of the Slick carousel that enhances accessibility. It’s designed to ensure that carousels are more inclusive by adding ARIA (Accessible Rich Internet Applications) attributes and improving keyboard navigation.

This project makes it easier for developers to create carousels that are usable by everyone, including those with disabilities, while maintaining the features and functionality of the original Slick carousel.

GitHub - Accessible360/accessible-slick: the last (accessible) carousel you’ll ever need.
the last (accessible) carousel you’ll ever need. . Contribute to Accessible360/accessible-slick development by creating an account on GitHub.

This is a small Angular Gallery, Carousel and Lightbox library.

GitHub - MurhafSousli/ngx-gallery: Angular Gallery, Carousel and Lightbox
Angular Gallery, Carousel and Lightbox. Contribute to MurhafSousli/ngx-gallery development by creating an account on GitHub.

25- Svelte Swipe

Swipable items wrapper component for Svelte πŸ”₯ πŸ’₯ (zero dependencies).

GitHub - SharifClick/svelte-swipe: Svelte Swipe with zero dependencies :boom:
Svelte Swipe with zero dependencies :fire: :boom:. Contribute to SharifClick/svelte-swipe development by creating an account on GitHub.

26- Sidebar Swipe

This is a Sidebar Swipeable ideally for touch screen devices.

GitHub - Anyass3/sidebar-swipe
Contribute to Anyass3/sidebar-swipe development by creating an account on GitHub.

27- Animotion

Animotion is a presentational framework for creating beautiful slides and visualizing ideas with code using Svelte, Reveal.js and Tailwind CSS.

GitHub - animotionjs/animotion: πŸͺ„ Create beautiful presentations with Svelte
πŸͺ„ Create beautiful presentations with Svelte. Contribute to animotionjs/animotion development by creating an account on GitHub.

28- Virtua (React, Vue, Solid, and Svelte)

A zero-config, fast and small (~3kB) virtual list (and grid) component for ReactVueSolid and Svelte.

GitHub - inokawa/virtua: A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.
A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte. - inokawa/virtua







Read more

Top 15 Resources for Free Tailwind Components: Access 5500+ Open-Source UI Elements to Enhance Your Frontend Development

Top 15 Resources for Free Tailwind Components: Access 5500+ Open-Source UI Elements to Enhance Your Frontend Development

What Are Tailwind Components? Tailwind components are pre-designed, reusable UI elements built with Tailwind CSSβ€”a utility-first CSS framework that enables developers to create custom designs directly in their HTML. These components, such as buttons, navigation bars, modals, and forms, serve as ready-made building blocks. Developers can quickly integrate them

By Hazem Abbas



Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

/