React carousel libraries

Updated Nov 2026

React carousel libraries show a row of slides that users swipe, drag, or click through. A carousel engine tracks the scroll position and snaps it to each slide, with optional looping and autoplay. These libraries let storefronts, galleries, and landing pages show several items in limited space.

Popularity

embla-carousel-react has the most monthly downloads in this comparison, at 109.7M.

LibraryMonthly downloadsStarsLast releaseLicense
embla-carousel-react
109.7M
8.5KApr 2025MIT
Swiper React
21.1M
41.9KOct 2026MIT
react-slick
7.3M
11.9KAug 2025MIT
react-bootstrap
6.6M
22.6KMay 2025MIT
@ark-ui/react
5.5M
5.5KOct 2026MIT
React Responsive Carousel
4.6M
2.7KMar 2022MIT
@fluentui/react-carousel
2.2M
20.4KOct 2026MIT
primereact
1.7M
Not on GitHubNov 2026PrimeUI License
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

embla-carousel-react

Integrates Embla Carousel into React through a lifecycle-aware hook.

Downloads / mo
109.7M
Stars
8.5K
Last release
8.6.0
License
MIT

Strengths

  • Cleans up on unmount. The React wrapper removes carousel resources when its component unmounts.
  • Exposes a carousel control API. Access the carousel API returned by useEmblaCarousel.

Limitations

  • Looping can fall back. Looping is disabled when too little slide content can support it.
  • Autoplay needs an extra package. Install embla-carousel-autoplay when slides should advance automatically.
From open-source projects on GitHub

Provides React carousel components within the Swiper package.

Downloads / mo
21.1M
Stars
41.9K
Last release
14.4.0
License
MIT

Strengths

  • Includes optional interaction modules. Enable navigation, pagination, keyboard, or accessibility modules as needed.
  • Supports virtual slide rendering. Enable the Virtual module and give each slide its virtualIndex.

Limitations

  • Looping requires enough slides. Meet the slide-count and grouping rules before enabling loop mode.
  • Breakpoints cannot change every option. Change layout-compatible settings; loop and effect cannot vary through breakpoints.

Quickstart

From react.md
$ npm install swiper react react-dom
import { Virtual } from 'swiper/modules';
import { Swiper, SwiperSlide } from 'swiper/react';

// Import Swiper styles
import 'swiper/css';
import 'swiper/css/virtual';

export default () => {
  // Create array with 1000 slides
  const slides = Array.from({ length: 1000 }).map(
    (el, index) => `Slide ${index + 1}`
  );

  return (
    <Swiper modules={[Virtual]} spaceBetween={50} slidesPerView={3} virtual>
      {slides.map((slideContent, index) => (
        <SwiperSlide key={slideContent} virtualIndex={index}>
          {slideContent}
        </SwiperSlide>
      ))}
    </Swiper>
  );
};

Swiper React examples

From open-source projects on GitHub

Provides a React carousel component based on Slick.

Downloads / mo
7.3M
Stars
11.9K
Last release
0.31.0
License
MIT

Strengths

  • Configures autoplay directly. Set autoplay and autoplaySpeed on the Slider component.
  • Adjusts the active slide height. Enable adaptiveHeight when the current slide should set carousel height.

Limitations

  • Requires separate CSS assets. Install slick-carousel and load its styles alongside the React component.
  • Responsive settings use maximum widths. Breakpoints apply below their configured widths; order them from smallest to largest.

Quickstart

From README.md
$ npm install react-slick slick-carousel react react-dom
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";

import React from "react";
import Slider from "react-slick";

export default function SimpleSlider() {
  var settings = {
    dots: true,
    infinite: true,
    speed: 500,
    slidesToShow: 1,
    slidesToScroll: 1
  };
  return (
    <Slider {...settings}>
      <div>
        <h3>1</h3>
      </div>
      <div>
        <h3>2</h3>
      </div>
      <div>
        <h3>3</h3>
      </div>
      <div>
        <h3>4</h3>
      </div>
      <div>
        <h3>5</h3>
      </div>
      <div>
        <h3>6</h3>
      </div>
    </Slider>
  );
}

react-slick examples

From open-source projects on GitHub

react-bootstrap

Provides Bootstrap components built with React.

Downloads / mo
6.6M
Stars
22.6K
Last release
2.10.10
License
MIT

Quickstart

From Carousel.tsx
$ npm install react-bootstrap bootstrap
import Carousel from 'react-bootstrap/Carousel';
import 'bootstrap/dist/css/bootstrap.min.css';

export default function Example() {
  return (
    <Carousel>
      <Carousel.Item><p>First slide</p></Carousel.Item>
      <Carousel.Item><p>Second slide</p></Carousel.Item>
    </Carousel>
  );
}

react-bootstrap examples

From open-source projects on GitHub

@ark-ui/react

Provides unstyled, accessible UI components for React that use state machines.

Downloads / mo
5.5M
Stars
5.5K
Last release
5.40.0
License
MIT

Quickstart

From index.ts
$ npm install @ark-ui/react
import { Carousel } from '@ark-ui/react/carousel';

export default function Example() {
  return (
    <Carousel.Root slideCount={2}>
      <Carousel.ItemGroup>
        <Carousel.Item index={0}>First slide</Carousel.Item>
        <Carousel.Item index={1}>Second slide</Carousel.Item>
      </Carousel.ItemGroup>
      <Carousel.PrevTrigger>Previous</Carousel.PrevTrigger>
      <Carousel.NextTrigger>Next</Carousel.NextTrigger>
    </Carousel.Root>
  );
}

React Responsive Carousel

Provides a responsive carousel component for React.

Downloads / mo
4.6M
Stars
2.7K
Last release
3.2.23
License
MIT
From open-source projects on GitHub

@fluentui/react-carousel

Provides a composable carousel component with pagination and minimal rerenders.

Downloads / mo
2.2M
Stars
20.4K
Last release
9.9.16
License
MIT

primereact

Provides a set of UI components for React.

Downloads / mo
1.7M
Last release
11.2.3
License
PrimeUI License

Quickstart

From README.md
$ npm install primereact @primereact/core
import { PrimeReactProvider } from '@primereact/core';
import { Carousel } from 'primereact/carousel';

export default function Example() {
  return (
    <PrimeReactProvider>
      <Carousel.Root>
        <Carousel.Content>
          <Carousel.Item>First slide</Carousel.Item>
          <Carousel.Item>Second slide</Carousel.Item>
        </Carousel.Content>
        <Carousel.Prev>Previous</Carousel.Prev>
        <Carousel.Next>Next</Carousel.Next>
      </Carousel.Root>
    </PrimeReactProvider>
  );
}

FAQ

Swiper React provides React carousel components within the Swiper package. Its optional modules add navigation, pagination, keyboard control, and accessibility.

Yes. react-slick requires the slick-carousel package and its styles, loaded alongside the React component.

For coding agents

Found your carousel library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official