Embla Carousel
embla-carousel
A lightweight carousel library with fluid motion and great swipe precision
Utilities
slider
carousel
slideshow
gallery
lightweight
touch
javascript
typescript
react
vue
Stars
1.4k
Weekly
29M
Open issues
17
Bundle
~15 kB
Installation
npm install embla-carouselCode example
import { useEmblaCarousel } from "embla-carousel";
export function Example() {
const value = useEmblaCarousel();
return <p>{String(value)}</p>;
}Pros & cons
Pros
- Actively maintained by David Jerleke
- 29M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 17 open issues on GitHub