Skip to content
프로젝트

소개

✨ (ノ´ヮ´)ノ*:・゚✧ React용 초간단 애니메이션 라이브러리!

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • 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.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+1

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

react-anime

Npm Package License Unit Tests Coverage Tests Vulnerabilities

(ノ´ヮ´)ノ*:・゚✧ 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.

Documentation | Demos | Anime.js

Installation

npm i react-anime -S

Features

  • 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.

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>
);

관련 프로젝트 살펴보기

불러오는 중…