Skip to content

adoveil/animate-components

 
 

Repository files navigation

Animate Components

downloads website version

Elemental components for doing animations in React

Install

npm

npm install animate-components --save

yarn

yarn add animate-components

Features

  • Component based
  • Supports all the animation properties
  • Use with styled-components, Aphrodite and glamor
  • Create a new animation using <Merge />
  • Isolated keyframes
  • Ratifies DOM nesting
  • Element type rendering of components using as prop
  • Add all the html attributes supported by React along with component props.
  • Render a component in isolation and apply animations on it.

Why ?

  • Ease of doing animations (purely component based).
  • Simplified and minimal API.
  • Best source for someone who is new to React (folks are already enjoying the ease of doing animations).
  • Supports element type rendering of an animation component (interesting tweak).
  • Provides isolated keyframes so that you don't have to hardcode all the curves and directly use them with css-in-js solutions like glamor, styled-components, Aphrodite etc.

Enough ?

Docs

Check the complete documentation here.

Animations

Below is a list of all available animations.

Bounce

  • Bounce
  • BounceUp
  • BounceRight
  • BounceLeft
  • BounceDown

Fade

  • FadeIn
  • FadeInUp
  • FadeInRight
  • FadeInLeft
  • FadeInDown
  • FadeInUpBig
  • FadeInLeftBig
  • FadeInRightBig

Flip

  • Flip
  • FlipX
  • FlipY

LightSpeed

  • LightOut
  • LightIn

Rotate

  • RotateIn
  • RotateRight
  • RotateLeft
  • RotateUpRight
  • RotateUpLeft

Slide

  • SlideUp
  • SlideDown
  • SlideLeft
  • SlideRight

Special

  • Flash
  • RollOut
  • RollIn
  • Rubber
  • Swing
  • Zoom
  • Hinge
  • Pulse
  • ExpandUp
  • Entrance
  • Hatch

🚀 New

Perspective

  • PDown
  • PUp
  • PLeft
  • PRight

Bingo

  • PuffOut
  • PuffIn
  • VanishOut
  • VanishIn

Expanse (in space)

  • ExpanseUp
  • ExpanseDown
  • ExpanseLeft
  • ExpanseRight

Other animation libraries (css)

About

Elemental components for doing animations in React

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • CSS 0.1%