Description
pure-react-carousel is a React carousel built from scratch as a set of components that you assemble yourself. It is written in TypeScript with modern functional components, hooks and React context, and it has no runtime dependencies. You place the carousel parts anywhere in the DOM, in any order, as long as they are children of a single CarouselProvider, and you can attach your own class names, attributes and styles to any part. The library does not impose a DOM structure or styling, so it fits an existing design system without fighting its CSS. It supports touch and mouse drag, is responsive by default, and aims for ARIA compliance. The included components cover the provider, a slider, a native slider variant, slides, dots and a dot group, images with optional zoom, a spinner, back, next, first, last and play buttons. It supports ES Modules and CommonJS. The project says it is not a wrapper around a non-React carousel such as Slick or Flickity, and that it has full test coverage. The README includes a tutorial that builds a three-slide carousel, a reference for each component, hooks and a higher-order component, TypeScript notes and examples. Install it with npm i -S pure-react-carousel.…
Highlights
- Assemble the carousel from components in any DOM order
- Touch and mouse drag support
- TypeScript types and no runtime dependencies
- ARIA-oriented and responsive by default
- Full class and style control on every part
Ratings & Reviews
No ratings yet
Be the first to rate pure-react-carousel.
People also visit

react-snaplist-carousel
A light, pure React, no dependencies and flexible carousel
pure-react-carousel FAQ
What is pure-react-carousel?
A React carousel library that gives you unstyled components to assemble into a carousel with your own DOM and CSS.
How do I install it?
Run npm i -S pure-react-carousel, then import the components and the stylesheet you need.
Does it depend on other carousel libraries?
No. The project says it is built from scratch in React and is not a wrapper or port of Slick or Flickity.
Does it support touch?
Yes. It supports touch and mouse drag events.
Can I use it with a bundler?
Yes. It supports ES Modules and CommonJS, and the README covers importing the stylesheet with a CSS loader.
What are the best pure-react-carousel alternatives?
Popular alternatives to pure-react-carousel include @brainhubeu/react-carousel, react-touch-carousel and react-responsive-carousel. See all pure-react-carousel alternatives




















