1. animejs
JavaScript animation engine
animejs
Package: animejs
Created by: juliangarnier
Last modified: Tue, 28 Nov 2023 09:14:38 GMT
Version: 3.2.2
License: MIT
Downloads: 824,672
Repository: https://github.com/juliangarnier/anime

Install

npm install animejs
yarn add animejs

[!IMPORTANT]

πŸŽ‰ Anime.js V4 is now available in early access πŸŽ‰

After years in the making, Anime.js V4 is finally available in early access for my GitHub Sponsors!


anime.js

JavaScript animation engine | animejs.com

npm version npm downloads

Anime.js (/ˈæn.Ι™.meΙͺ/) is a lightweight JavaScript animation library with a simple, yet powerful API.
It works with CSS properties, SVG, DOM attributes and JavaScript Objects.

Getting started | Documentation | Demos and examples | Browser support

Getting started

Download

Via npm

 $ npm install animejs --save

or manual download.

Usage

ES6 modules

 import anime from 'animejs/lib/anime.es.js';

CommonJS

 const anime = require('animejs');

File include

Link anime.min.js in your HTML :

 <script src="anime.min.js"></script>

Hello world

 anime({
  targets: 'div',
  translateX: 250,
  rotate: '1turn',
  backgroundColor: '#FFF',
  duration: 800
});

Documentation

Demos and examples

Browser support

Chrome Safari IE / Edge Firefox Opera
24+ 8+ 11+ 32+ 15+

anime-js-v3-logo

Website | Documentation | Demos and examples | MIT License | Β© 2019 Julian Garnier.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin