Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

anime

> 前端框架
Open source

JavaScript animation engine

71.7K stars0 likes10 views
WebsiteGitHub

About

JavaScript animation engine

Anime.js

Anime.js is a fast, multipurpose and lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.

Sponsors

Anime.js is 100% free and is only made possible with the help of our sponsors. Help the project become sustainable by sponsoring us on GitHub Sponsors.

Platinum sponsors

      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
</tr>

Silver sponsors

      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
  <td>
    <a target="_blank" href="https://github.com/sponsors/juliangarnier">
      <picture>
        
      </picture>
    </a>
  </td>
</tr>

Get featured here by becoming a GitHub Sponsor.

Usage

Anime.js V4 works by importing ES modules like so:

javascript
import {
  animate,
  stagger,
} from 'animejs';

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

V4 Documentation

The full documentation is available here.

V3 Migration guide

You can find the v3 to v4 migration guide here.

NPM development scripts

First, run npm i to install all the necessary packages. Then, execute the following scripts with npm run <script>.

script action
dev Watches for changes in src/**/*.js, bundles the ESM version to lib/ and creates type declarations in types/
dev:test Runs dev and test:browser concurrently
build Bundles ESM / UMD / CJS / IIFE versions to lib/ and creates type declarations in types/
test:browser Starts a local server and runs all browser-related tests
test:node Starts Node-related tests
open:examples Starts a local server to browse the examples locally

© Julian Garnier | MIT License

Issues· 119 open

View all issuesOpen on GitHub
  • #1192

    [BUG] onScroll never refreshes the window container's height after a vertical-only viewport resize

    Updated Sep 28, 2026
  • #1191

    [FEATURE] splitText hyphens, hyphenate-character and hyphenate-limit-chars support

    feature proposalUpdated Sep 4, 2026
  • #1190

    [FEATURE] splitText text-wrap-style support

    feature proposalUpdated Sep 4, 2026
  • #1189

    [BUG] onScroll doesn't work on overflow scroll elements with viewport container

    bugUpdated Sep 3, 2026
  • #1184

    [BUG] layouts animations don't work on Galaxy J3

    bugUpdated Jul 22, 2026
  • #1105

    [DOCS] LLM guiding file for animejs v4

    documentationUpdated Jun 11, 2026
  • #1167

    [BUG] onScroll autoplay animations aren't working with timelines after timeline sync.

    bugUpdated Jun 9, 2026
  • #1174

    [FEATURE] Version info in non-browser environments

    feature proposalUpdated May 23, 2026
  • #1170

    [BUG] Incorrect unit type assignment in convertValueUnit

    Updated May 17, 2026
  • #1169

    [DOCS] Minor UI Issue on Installation Page Typewriter Effect

    documentationUpdated May 9, 2026

> Tags

JavaScriptanimationanimecanvascss

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架