Anime.js
A strong pick. 3rd of 9 animation libraries.
Anime.js is an MIT-licensed animation engine that works with any framework. It handles DOM, CSS, SVG and JS objects, and v4 adds timelines, scroll, layout, draggable and Three.js support. It is fast and well documented, and a solid pick for vanilla and SVG-heavy work. But it rests on one main maintainer, its last release was in June 2026, and minor versions have broken code. Motion is the safer default for React apps.
Best for: Developers who want a light, framework-agnostic engine for timelines, SVG and scroll animation in vanilla JS or creative sites.
Scores
Overall7.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It is a capable, fast, framework-agnostic engine and a good pick for vanilla JS, SVG and creative work. Motion does more for most React teams, is far more actively developed, and is growing faster. Anime.js depends on one maintainer, has slowed since June, and has a record of breaking changes, so it sits below the category leader.
- peers Motion: 275M downloads and 2277 commits last year
- ics.media/en/entry/14973: Performance on par with GSAP
- github commitsLastYear: Low development activity
GPT-6.2 Sol: 7.6, likely 6.4 to 8.6
Anime.js is a strong pick for new browser work that needs precise timelines, SVG animation, or scroll-linked effects across frameworks. Motion is the stronger default when animation mostly follows React component state and lifecycle. The slower stable release cadence, concentrated maintenance, and below-median install growth limit how broadly I would recommend it.
- animejs.com/documentation: Broad toolkit for browser animation with interactive examples
- ics.media/entry/14993: Strong independent v4 results under heavy animation loads
- motion.dev/docs/react-animate-presence: Motion provides first-party React exit animation
- github.com/juliangarnier/anime/releases: Stable release cadence has slowed and publishing is concentrated
- peers, npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Motion has stronger adoption and activity, and Anime.js trails catalog install growth
Needed by many5.9
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web apps and marketing sites need UI animation, and Anime.js works in any framework, or none. Many React teams reach for component libraries instead, and plenty of apps get by with CSS transitions. That makes the group large but not universal.
- github description: A general JavaScript animation engine, not tied to any framework
- learnwithhasan.com/js-libraries/compare/motion-vs-anime-js: Placed as the vanilla JS and SVG choice, with Motion for React and Vue
GPT-6.2 Sol: 5.8, likely 4.7 to 6.9
Coordinated animation comes up across web apps, interactive sites, and data visualizations. Anime.js works across browser frameworks, while CSS covers many routine fades and transitions. The developer survey groups animation with graphics and charting, so it gives only a rough measure of demand for this kind of library.
- animejs.com/documentation: Framework-independent tools for timelines, layout, SVG, and events
- developer.mozilla.org/en-US/docs/Web/CSS/Guides/Transitions/Using: Native CSS covers basic timed property changes
- 2025.stateofjs.com/en-US/other-tools: Graphics and animation survey combines several distinct jobs
Helps a lot7.9
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
v4 is a full modular rewrite. It has timelines, scroll observers, layout animation, draggable, WAAPI sync and a Three.js adapter, and an independent test puts it at about GSAP's speed. Users praise the API and docs. It is held back by the lack of React bindings, its weak spring and gesture support compared with Motion, and the fact that AI agents often write v3-style code.
- ics.media/en/entry/14973: 2026 benchmark: v4 performs about as well as GSAP and better than Motion
- github.com/juliangarnier/anime/releases: Added createLayout, scrambleText and a Three.js adapter in 2026
- news.ycombinator.com/item?id=43570533: HN users praise the API and docs, and some report heavy CPU use on the demo site
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 8.3, likely 7.2 to 9.2
Version 4.5.0 gives fine control over timeline playback, staggering, SVG, and layout, with a smaller Web Animations API module for basic effects. An independent v4.1.3 benchmark found strong results under heavy load, though the results depend on what is being animated. Interactive examples and bundled types give coding agents a good reference, while incompatible v3 snippets are easy to reuse by mistake. React exit animations take extra lifecycle code, and a reported layout typing bug shows where the declarations still fall short.
- github.com/juliangarnier/anime/releases/tag/v4.5.0: Timeline fixes, faster construction of overlapping timelines, and a Three.js adapter
- animejs.com/documentation/animation: Interactive examples and a smaller Web Animations API entry point
- ics.media/entry/14993: Anime.js 4.1.3 performed well in large DOM and WebGPU tests
- npm hasTypes: TypeScript declarations ship with the package
- github.com/juliangarnier/anime/wiki/Migrating-from-v3-to-v4: Older examples use incompatible imports and options
- animejs.com/documentation/getting-started/using-with-react: React integration uses an effect and explicit scope cleanup
- github.com/juliangarnier/anime/issues/1193: Reproduction of a layout spring type mismatch in 4.5.0
Holds up over time5.9
Will it still be a good choice in two years?
Claude Opus 5.5: 5.5, likely 4.0 to 7.0
There were 10 releases in the last year, but only 28 commits, none since June 2026, and one author does almost all the work, paid through sponsorship and a course. Breaking changes landed both in the v4 rewrite and in the 4.4.0 minor release. The project has lasted ten years, which helps, but the bus factor is low.
- github commitsLastYear: 28 commits, against 2277 for Motion
- npm latestPublishedAt: Last release 2026-06-22
- github.com/juliangarnier/anime/releases: 4.4.0 changed transform order and callback arguments
- bluesky top: A user says v4 would break all the animations in their game
GPT-6.2 Sol: 6.2, likely 4.8 to 7.6
The project shipped ten releases in the past year, but stable releases have paused since June and a v5 beta appeared in November. Public releases are concentrated under one maintainer with sponsor backing, and some September bug reports remain open. A user reported that v4 would break their game's animations, so the next major version leaves meaningful uncertainty about upgrade effort.
- github commitsLastYear, releasesLastYear, latestRelease: 28 commits and ten releases, with the latest stable release in June
- github.com/juliangarnier/anime/releases: The same account published the recent GitHub releases
- npmjs.com/package/animejs?activeTab=versions: November v5 beta alongside stable 4.5.0
- github.com/sponsors/juliangarnier: GitHub Sponsors funds maintainer work
- github.com/juliangarnier/anime/issues: September layout and scroll bug reports remain open
- bluesky top: Game developer reported that upgrading to v4 would break existing animations
Used widely5.4
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It gets 4.5M downloads every 4 weeks, up 2.97x in a year. That is below the 4.1 median, so it is losing share. Its 7.3k dependent repos are well behind Motion's 110k and Lottie's 16k, and its 75k stars far exceed its real use. That puts it at tens of thousands of projects.
- npm downloadsLast4Weeks: 4.5M, up from 1.5M a year ago (2.97x, below the 4.1 median)
- dependents repos: 7272, against 110570 for Motion and 12174 for react-spring
- github stars: 74.9k stars, the most in the category
GPT-6.2 Sol: 5.3, likely 4.1 to 6.5
Downloads rose from 1.52 million to 4.50 million over the same four-week period, a 2.97× increase against the catalog median of 4.1×. That points to a falling relative share of installs, and older v3 releases still account for substantial traffic. The collector found 7,272 dependent repositories, ahead of AutoAnimate and well below Motion and react-spring. Nearly 75,000 stars and a lively v4 launch show visibility, while incomplete repository coverage and CDN use make direct adoption harder to estimate.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 2.97× install growth versus the 4.1× catalog median
- dependents, peers dependentRepos: 7,272 repositories and 878 packages in the collector's sample
- github stars, hackerNews top, bluesky posts: 74,946 stars, 973 points on the v4 launch, and seven Bluesky links
- npmjs.com/package/animejs?activeTab=versions: The weekly version snapshot shows substantial use of v3.2.2
- jsdelivr.com/package/npm/animejs: Anime.js is also distributed through a CDN
Vouched for5.8
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
It has one independent benchmark and a very well received HN launch (973 points). Many creative sites use it, but no major company or framework builds on it publicly. Most comparisons are low-effort blog posts.
- hackerNews top: The v4 launch drew 973 points and 155 comments
- ics.media/en/entry/14973: An independent comparison that rates v4 highly
- issoh.co.jp/tech/details/12740: A third-party v4 migration guide and GSAP comparison
GPT-6.2 Sol: 6.5, likely 5.2 to 7.8
Anime.js performed well in an independent v4 benchmark, and web developers report good results with mobile scroll animations. HeyGen's HyperFrames supports it, and a CRAN package builds browser animation widgets on top of it. The State of JavaScript survey shows regular use, while evidence of retention and large deployments on the current release is thin.
- ics.media/entry/14993: Independent benchmark with public DOM and WebGPU demos
- reddit.com/r/webdev/comments/1uq4xdn/gsap_motion_or_animejs_whats_your_choice: Developers report a clean API and smoother mobile results in their projects
- github.com/heygen-com/hyperframes/blob/main/docs/concepts/frame-adapters.mdx: HyperFrames supports seeking Anime.js timelines in its browser runtime
- cran.r-project.org/web/packages/animejs/index.html: R bindings use Anime.js to render HTML and SVG widgets
- 2025.stateofjs.com/en-US/other-tools: 733 respondents reported regular use
Safe6.5
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It has no dependencies, no known advisories, and an MIT licence. The OpenSSF Scorecard is only 2.1: there is no code review, branch protection or security policy, and a single person publishes releases. The attack surface is small, but the release process is weakly guarded.
- npm dependencies: 0 dependencies
- advisories total: No advisories on record
- scorecard score: 2.1, with Code-Review, Branch-Protection and Security-Policy all at 0
GPT-6.2 Sol: 6.4, likely 5.1 to 7.7
The MIT-licensed package has zero regular runtime dependencies and no recorded OSV advisories. The 2.1 OpenSSF Scorecard gives zeroes for code review, branch protection, static analysis, and security policy, while several publishing checks were inconclusive. Aikido lists one npm maintainer and found no build provenance for 4.5.0, leaving uncertainty about how releases are safeguarded.
- npm dependencies, license: Zero regular dependencies and a permissive MIT license
- advisories total: Zero OSV advisories recorded
- scorecard score, checks: 2.1 aggregate with several repository safeguards scored zero
- github.com/ossf/scorecard/blob/main/checker/check_result.go: A score of minus one means the check was inconclusive
- intel.aikido.dev/packages/npm/animejs: One listed npm maintainer and no build attestation detected
Good
- One engine handles timelines, stagger, scroll triggers, layout, draggable, SVG and WAAPI, and it has no dependencies.
- An independent 2026 benchmark puts v4 at about GSAP's speed, ahead of Motion.
- The ESM-first, tree-shakable API ships its own TypeScript types and has polished documentation.
- It is MIT-licensed and free for commercial use.
Bad
- One author writes almost all of it: there were only 28 commits last year and no release since June 2026.
- The v3 to v4 rewrite broke existing code, and the 4.4.0 minor release changed transform order and callback arguments.
- It has no first-party React or Vue component layer, so Motion fits component apps better.
- The OpenSSF Scorecard is weak (2.1), with no code review, branch protection or security policy.
The numbers
- npm downloads, 4 weeks
- 4.5M ×3.0 in a year
- GitHub stars
- 75k
- Commits, 12 months
- 28
- npm version
- 4.5.0 Jun 2026
- Versions, 12 months
- 10
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 2.1 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (juliangarnier/anime), npm (animejs), OSV and the OpenSSF Scorecard.
Animation libraries
- 9.0Motion
- 7.1dotLottie Web
- 7.1Anime.js
- 7.1AutoAnimate
- 6.9Rive
- 6.7react-spring
- 5.4Lottie Web
- 4.3Theatre.js
- 2.7Velocity