{
 "kind": "tool",
 "slug": "embla-carousel-react",
 "path": "tools/embla-carousel-react/",
 "name": "Embla Carousel",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Animation and motion",
   "tools/animation/"
  ]
 ],
 "lead": "Lightweight carousel component with fluid motion and precise swipe handling for React.",
 "chips": [
  {
   "label": "Animation and motion",
   "path": "tools/animation/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install embla-carousel-react"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/davidjerleke/embla-carousel"
  },
  {
   "label": "Website",
   "href": "https://www.embla-carousel.com"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/davidjerleke/embla-carousel"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 1, 2026",
   "note": "Latest GitHub release Apr 4, 2025. ",
   "src": "https://github.com/davidjerleke/embla-carousel"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "311 projects",
   "status": "info",
   "sub": "#4 of 46 in its category",
   "note": "Dependency in 311 public GitHub projects set up for AI coding agents that we scanned (5.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Embla Carousel does",
   "parts": [
    {
     "t": "prose",
     "text": "Embla supplies only the carousel logic and ships no styles or UI, so you write the markup, CSS and buttons yourself and add extras such as autoplay through separate plugins."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Embla Carousel popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "74",
       "of": "/ 100",
       "l": "Gid Score, #237 overall"
      },
      {
       "n": "29.1M",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,485",
       "l": "GitHub stars"
      },
      {
       "n": "311",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Embla Carousel is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Embla Carousel is a dependency in 311 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (6.4% of the 4,867 JavaScript/TypeScript ones), #4 of 46 in animation and motion.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,427; those are left out of every share on this page.",
      "Projects that use it most often also use Class Variance Authority (98.1%), clsx (98.1%), Lucide React (97.7%).",
      "It is more common in projects set up for Roo Code (11.7%) than for Gemini CLI (2.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "189 projects, 7.7%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "140 projects, 4.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "126 projects, 4.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "23 projects, 8.2%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "17 projects, 3.6%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "13 projects, 2.7%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "13 projects, 11.7%",
       "v": "Roo Code",
       "path": "agents/roo-code/"
      },
      {
       "l": "8 projects, 5.7%",
       "v": "Kiro",
       "path": "agents/kiro/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 98.1% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 98.1% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 97.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 97.1% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 91.3% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 85.9% of its projects",
       "v": "cmdk",
       "path": "tools/cmdk/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "React Day Picker",
       "path": "tools/react-day-picker/"
      },
      {
       "l": "In 84.2% of its projects",
       "v": "date-fns",
       "path": "tools/date-fns/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "Embla Carousel in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "No CSS to fight",
       "v": "Embla adds no stylesheet, so you can use any styling approach. The Best Buy Canada developer called this their favorite thing about the library and used Tailwind."
      },
      {
       "l": "Plugins keep the core small",
       "v": "Extra behavior such as auto-scroll lives in its own package. One builder writes that \"we pay only for features we use.\""
      },
      {
       "l": "A large set of ready CodeSandboxes",
       "v": "The docs offer pre-made sandboxes for loop, right-to-left, Y-axis, variable widths, thumbnails and slides per view. There are also plugin examples (accessibility, autoplay, fade, auto height), tween effects such as parallax and opacity, and engine examples like lazy load and an iOS-style picker."
      },
      {
       "l": "Navigation code you copy and own",
       "v": "The Embla site has a builder that generates navigation code for buttons, dots and auto-scroll. You paste that code into your own codebase instead of importing prebuilt components."
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Docs default to a v9 release candidate",
       "v": "The documentation site describes v9.0.0-rc04, while the latest tagged release on GitHub is v8.6.0. The docs say the RC \"can be considered stable\". If you are on the stable line, switch to the v8 docs."
      },
      {
       "l": "Not drop-in",
       "v": "Because nothing ships pre-built, you have to write the layout and controls yourself. The Best Buy Canada developer listed setup time among their frustrations."
      },
      {
       "l": "Next and previous can behave unexpectedly",
       "v": "The same developer found the built-in next and previous behavior inconsistent with what they wanted. They fixed it with helpers that read <code>emblaApi.internalEngine()</code>, based on a GitHub issue."
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about Embla Carousel",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/davidjerleke",
        "3 GitHub sponsors"
       ]
      },
      {
       "title": "Packages around it",
       "items": [
        "class-variance-authority: variant class builder",
        "clsx: className joiner",
        "lucide-react: icon set",
        "tailwind-merge: Tailwind class merging",
        "@radix-ui: headless UI primitives",
        "cmdk: command menu"
       ]
      },
      {
       "title": "More in Animation and motion",
       "path": "tools/animation/",
       "items": [
        {
         "text": "tw-animate-css",
         "path": "tools/tw-animate-css/"
        },
        {
         "text": "Framer Motion",
         "path": "tools/framer-motion/"
        },
        {
         "text": "Tailwind CSS Animate",
         "path": "tools/tailwindcss-animate/"
        },
        {
         "text": "Motion",
         "path": "tools/motion/"
        },
        {
         "text": "GSAP",
         "path": "tools/gsap/"
        },
        {
         "text": "React Native Reanimated",
         "path": "tools/react-native-reanimated/"
        },
        {
         "text": "canvas-confetti",
         "path": "tools/canvas-confetti/"
        },
        {
         "text": "Lenis",
         "path": "tools/lenis/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Embla Carousel",
       "me": true,
       "facts": [
        "MIT",
        "Gid 74",
        "29.1M/wk"
       ]
      }
     ],
     "more": "Compare Embla Carousel with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install embla-carousel-react"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## Embla Carousel\n- Check the installed major version first. The docs site defaults to v9.0.0-rc04, so use the v8 docs if the project is on 8.x.\n- Embla ships no CSS. Write the viewport, container and slide styles yourself. The doc examples use a flexbox layout.\n- In React, call `useEmblaCarousel(options, plugins)`, put the returned ref on the viewport element, and guard against an undefined API before calling methods.\n- Add features with the official plugins (autoplay, auto-scroll, auto height, fade, class names, accessibility) rather than hand-rolling them.\n- Start from the matching predefined CodeSandbox (loop, thumbnails, lazy load, progress and others) instead of writing from scratch.\n- Type options and the API with `EmblaOptionsType` and `EmblaCarouselType`.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm embla-carousel-react"
  ],
  [
   "Category",
   "Animation and motion"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "v8.6.0, April 4, 2025"
  ],
  [
   "On GitHub since",
   "March 2019"
  ],
  [
   "Gid Score",
   "73.9"
  ],
  [
   "Rank in category",
   "#4 of 46"
  ],
  [
   "GitHub",
   "davidjerleke/embla-carousel"
  ],
  [
   "Last change",
   "Nov 1, 2026"
  ]
 ],
 "good": [
  "Used by shadcn, as listed by the source; we have not checked each one."
 ],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/davidjerleke.png"
}