Anime.js
JavaScript library · Free
A JavaScript web animation library with timelines, easing, and sequence control. Suits interface transitions, interactive scenes, text, and SVG. Used in ordinary JavaScript and React projects; an AI agent can write and change animation code.
Also known as: anime.js; animejs; Anime.js v4; animejs skill

What you can use for free
MIT web animation library, including commercial projects, without a key or subscription.
Paid features and costs
Music, fonts, images, and voiceovers have their own terms.
Access and limitations
The library is free under MIT, including for commercial projects; no mandatory API key or subscription is required. Music, fonts, images, and voiceovers have separate terms.
Use cases
- Button feedback, save confirmations, and panel transitions
- A landing page's first screen and scroll-driven storytelling
- Drawing an SVG logo, moving along a path, and morphing shapes
- Smooth card rearrangement, typography, and dragging
- Captions, infographics, product presentations, and ads through a browser and FFmpeg
Example workflow
A possible workflow; this is not a report of hands-on testing.
Show a save confirmation in a web dashboard.
Before you start
- A button and message element.
- A successful-save event.
Steps
- Connect the library and set the message's initial state.
- Show it after success, then return to the normal state.
- Test repeated saves and leaving the page.
Check your result
- New events do not create conflicting effects.
- The message is clear with motion disabled.
Choosing Anime.js
Animate web elements and SVG through JavaScript, including coordinated sequences.
Choose this when
- You need button feedback or a panel transition.
- You need to synchronize several animations in a timeline.
Consider alternatives when
- CSS is simpler for a single transition; consider GSAP for an existing project using its plugins.
Requirements
- Anime.js connected, DOM/SVG elements, and defined trigger events.
Things to consider
- The example API must match the library edition you use.
- Web animation does not export a finished video.
Frequently asked questions
Does Anime.js require React?
No. It is a JavaScript library and can be added to an ordinary webpage.
Related tasks and approaches
- GSAP
Alternative: another JavaScript engine for sequences.
- Remotion + official Agent Skills
Different outcome: software for rendering video from a React composition.
Platforms
- Browser
Tech stack
- React
- JavaScript
- SVG
License
MIT
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsUsage details
Add the library separately to each project. API v3 and v4 differ; examples must match the chosen version. React needs cleanup and reduced-motion support. A video can be produced from a controlled timeline through frame-by-frame rendering and encoding; this is a separate process, not built-in video generation. Motion MCP belongs to Motion, not Anime.js.
Technologies and topics
- Anime.js
- React
- JavaScript
- SVG
- Codex
Sources
- Source code · github.com
- Official website · animejs.com
- Documentation · animejs.com
- Documentation · animejs.com
- Documentation · animejs.com
- Documentation · animejs.com
- Documentation · animejs.com
- Documentation · learn.chatgpt.com
- Original material · alive-aluminum-01b.notion.site
- Product documentation · animejs.com