プロジェクト
概要
✨ (ノ´ヮ´)ノ*:・゚✧ React向けのとても使いやすいアニメーションライブラリ!
Web・アプリ開発できること
- 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.
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- +1
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルreact-anime
(ノ´ヮ´)ノ*:・゚✧ 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.
Installation
npm i react-anime -S
Features
Animate nearly all CSS, SVG, & DOM attributes by adding a prop with their name (eg.
opacity,backgroundColor,transforminputs liketranslateX).Nested animations are as easy as putting an
<Anime>component inside another.Cascading animations through
delayprop.Add elements dynamically and have them animate in.
TypeScript definitions included.
Usage
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>
);
関連プロジェクトを探す
読み込み中…