What is Anime.js?
Anime.js V4 is a modern animation engine that provides:Lightweight & Fast
Optimized performance with minimal overhead, capable of animating thousands of elements smoothly
Flexible Targets
Animate CSS properties, SVG attributes, DOM elements, and JavaScript objects with ease
Powerful Easings
Built-in easings including cubic-bezier, spring physics, steps, and irregular timing functions
Timeline System
Create complex animation sequences with precise timing control and synchronization
Key Features
Modular Architecture
Anime.js V4 works with ES modules, allowing you to import only what you need:Animation Types
Animations
Simple one-off animations with rich property support
Timelines
Sequence multiple animations with precise timing
Animatables
Create interactive, controllable animation instances
Advanced Capabilities
Stagger Effects
Animate multiple elements with cascading delays and grid-based patterns
SVG Support
Path morphing, line drawing, and motion path animations
Spring Physics
Natural motion with realistic spring-based animations
Scroll Animations
Sync animations to scroll position with precision
Browser Support
Anime.js V4 works in all modern browsers:- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Opera (latest)
Anime.js uses ES modules and modern JavaScript features. For older browser support, you may need to transpile your code.
Community & Support
GitHub Repository
View source code, report issues, and contribute
GitHub Sponsors
Support the project’s development
Version 4 Highlights
Anime.js V4 introduces major improvements:- Modular imports - Tree-shakeable ES modules for smaller bundle sizes
- TypeScript support - Full type definitions included
- Better performance - Optimized rendering and memory usage
- New features - Draggables, scope management, and layout utilities
- Enhanced composition - Improved animation layering and blending
Next Steps
Install Anime.js
Get started by installing the library via npm, yarn, pnpm, or CDNGo to Installation →
Quick Start
Create your first animation in minutes with a simple exampleGo to Quick Start →
Explore Examples
Learn from real-world examples and advanced techniquesView Examples →