✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!
See the code(ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React built on top of Julian Garnier's anime.js.
Just place an<Anime>component and what you want animated inside.
npm i react-anime -S
Animate nearly all CSS, SVG, & DOM attributes by adding a prop with their name (eg. opacity, backgroundColor, transform inputs like translateX).
Nested animations are as easy as putting an <Anime> component inside another.
Cascading animations through delay prop.
Add elements dynamically and have them animate in.
TypeScript definitions included.
import Anime, { anime } from 'react-anime';
let colors = [ 'blue', 'green', 'red' ];
const MyAnime = (props) => (
<Anime delay={anime.stagger(100)} scale={[ 0.1, 0.9 ]}>
{colors.map((color, i) => <div key={i} className={color} />)}
</Anime>
);
Overall
Maintained
Code review
npm
Latest release
Releases this year
224 followers · starred Apr 2021
155 followers · starred Oct 2019
45 followers · starred Nov 2018
39 followers · starred Mar 2021
✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!
See the code(ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React built on top of Julian Garnier's anime.js.
Just place an<Anime>component and what you want animated inside.
npm i react-anime -S
Animate nearly all CSS, SVG, & DOM attributes by adding a prop with their name (eg. opacity, backgroundColor, transform inputs like translateX).
Nested animations are as easy as putting an <Anime> component inside another.
Cascading animations through delay prop.
Add elements dynamically and have them animate in.
TypeScript definitions included.
import Anime, { anime } from 'react-anime';
let colors = [ 'blue', 'green', 'red' ];
const MyAnime = (props) => (
<Anime delay={anime.stagger(100)} scale={[ 0.1, 0.9 ]}>
{colors.map((color, i) => <div key={i} className={color} />)}
</Anime>
);
Overall
Maintained
Code review
npm
Latest release
Releases this year
224 followers · starred Apr 2021
155 followers · starred Oct 2019
45 followers · starred Nov 2018
39 followers · starred Mar 2021