React Responsive Carousel
react-responsive-carousel
React Responsive Carousel
Component Libraries
react
carousel
gallery
image-gallery
slider
responsive
swipe
mobile-friendly
react-component
view
Stars
2.7k
Weekly
837k
Open issues
4
Bundle
~25 kB
Installation
npm install react-responsive-carouselCode example
import { Button } from "react-responsive-carousel";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by Leandro Augusto Lemos
- 837k weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 4 open issues on GitHub