# Anime.js

> Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/animejs

free

Lightweight, modular JavaScript animation engine (v4) with timelines, stagger, SVG and draggable.

by Julian Garnier[GitHub](https://github.com/juliangarnier/anime)[npm](https://npmjs.com/package/animejs)

[visit](https://animejs.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://animejs.com](https://animejs.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [GSAP](https://tastebase.ehsanulsiam.workers.dev/browse/gsap)

Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.

no preview

### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

no preview

### [Lenis](https://tastebase.ehsanulsiam.workers.dev/browse/lenis)

Smooth, inertia-based wheel scrolling that keeps native scroll position, sticky and anchors working.

no preview

### [AutoAnimate](https://tastebase.ehsanulsiam.workers.dev/browse/auto-animate)

One line of code that animates children being added, removed or moved inside a parent.

## For your agent

##### Install

`npm i animejs`

##### Use it for

- grid or dot-matrix stagger effects that ripple out from a point (stagger from 'center')
- SVG line drawing and morphing on a framework-free or static site
- a small looping illustration or loader built from DOM or SVG elements

##### Skip it when

- React component state, presence and layout animations: use motion
- scroll-scrubbed storytelling with pinning: gsap ScrollTrigger is more mature
- a designer hands you an animation file: play it with rive or dotlottie-react instead of rebuilding it

##### What's inside20 free

- Timer
- Animation
- Timeline
- Animatable
- Draggable
- Layout
- Scope
- onScroll
- morphTo
- createDrawable
- createMotionPath
- splitText
- scrambleText
- stagger()
- Easings
- Spring
- Web Animation API (waapi)
- Engine
- Three.js adapter
- Utilities

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
unstyled

**Weight**
small

**Accessibility**
ok

**Maturity**
established

**License**
MIT

**Price**
Free

##### Pairs with

[Lenis](https://tastebase.ehsanulsiam.workers.dev/browse/lenis)

##### Alternatives

[GSAP](https://tastebase.ehsanulsiam.workers.dev/browse/gsap)[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

[Compare Anime.js with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/animejs-alternatives)

```
import { animate, stagger } from 'animejs'

animate('.square', {
  x: 320,
  rotate: { from: -180 },
  duration: 1250,
  delay: stagger(65, { from: 'center' }),
  ease: 'inOutQuint',
})
```

https://cdpn.io/juliangarnier/debug/gmOwJX

Loading website

[Visit](https://animejs.com/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
