Embla Carousel
Lightweight carousel component with fluid motion and precise swipe handling for React.
Animation and motion npm MIT
Used in agent projects
605
4.8% of 12,697 public repos built with AI coding agents
Rank in animation and motion
#4 of 28
by use in those projects
Downloads
30.4M
npm, last 7 days, embla-carousel-react
GitHub stars
8,439
last push Oct 9, 2026
How Embla Carousel is used
Embla Carousel is a dependency in 605 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (4.8%), #4 of 28 in animation and motion. The most used alternative there is Framer Motion. Projects that use it most often also use clsx (97.4%), Class Variance Authority (97.0%), Lucide React (96.9%). It is more common in projects set up for Roo Code (13.3%) than for Gemini CLI (3.0%).
Often used with Embla Carousel
| clsx | 97.4% of Embla Carousel projects · 5.5× more than average |
|---|---|
| Class Variance Authority | 97.0% of Embla Carousel projects · 6.9× more than average |
| Lucide React | 96.9% of Embla Carousel projects · 4.9× more than average |
| Tailwind Merge | 96.9% of Embla Carousel projects · 5.8× more than average |
| Radix UI | 92.4% of Embla Carousel projects · 7.7× more than average |
| Zod | 88.6% of Embla Carousel projects · 5.2× more than average |
| cmdk | 86.9% of Embla Carousel projects · 16.1× more than average |
| Recharts | 86.3% of Embla Carousel projects · 10.6× more than average |
By coding agent
| Cursor | 7.7% of projects set up for it |
|---|---|
| Claude Code | 4.4% of projects set up for it |
| GitHub Copilot | 4.2% of projects set up for it |
| Devin Desktop | 8.4% of projects set up for it |
| OpenAI Codex | 3.8% of projects set up for it |
| Roo Code | 13.3% of projects set up for it |
| Gemini CLI | 3.0% of projects set up for it |
| Kiro | 5.5% of projects set up for it |
Share of public repos configured for each agent that list Embla Carousel as a dependency.
Install
| Package | npm install embla-carousel-react |
|---|---|
| Main stacks | Next.js (321), TypeScript / JavaScript (262), Python (14), PHP (5) |
| Example projects | miantiao-me/bm.md, PageAI-Pro/vibe-coding-starter, LiorVainer/data-israel, andrelandgraf/aileen, fountain-ink/app |
Alternatives to Embla Carousel
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Framer Motion npm Simple and powerful animation library for React components. |
1,703 (13.4%) | 50.1M | 33.9K | MIT |
| Tailwind CSS Animate npm Tailwind CSS plugin adding ready-to-use animation utilities. |
945 (7.4%) | 20.4M | — | MIT |
| tw-animate-css npm Tailwind CSS v4.0 compatible animation plugin replacement. |
851 (6.7%) | 39.6M | 806 | MIT |
| GSAP npm Professional animation library for high-performance CSS, SVG, canvas and React animations. |
599 (4.7%) | 5.9M | 29K | Standard 'no charge' license: https://gsap.com/standard-license. |
| Motion npm Animation library for JavaScript and React with simple, powerful motion primitives. |
416 (3.3%) | 24.4M | 33.9K | MIT |
| Lenis npm Smooth scrolling library that enhances page scroll experiences with physics-based animations. |
193 (1.5%) | 1.8M | 16.3K | MIT |
| React Native Reanimated npm High-performance animation library for React Native with worklet support. |
129 (1.0%) | 9.3M | 11K | MIT |
| canvas-confetti npm Performant confetti animation library for creating celebratory effects in browsers. |
103 (0.8%) | 8.5M | 12.8K | ISC |