Skip to content

Latest commit

 

History

History

ac-inferno

ac-inferno (Animate Components for Inferno)

version gzip size

Install

npm

npm install ac-inferno

yarn

yarn add ac-inferno

The UMD build is also available on unpkg:

<script src="https://unpkg.com/[email protected]/dist/ac-inferno.min.js"></script>

Why a separate package for InfernoJS instead of using animate-components with Inferno-compat ?

  • Cost in performance.
  • Strange errors (specially with Disappear component).
  • Reduce build size with Inferno.

Docs

View the complete documentation here (API is similar for both React and Inferno).

Animations

Below is a list of all available animations (Components).

Bounce

  • Bounce
  • BounceUp
  • BounceRight
  • BounceLeft
  • BounceDown

Fade

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

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

🚀 New

Perspective

  • PDown
  • PUp
  • PLeft
  • PRight

Bingo

  • PuffOut
  • PuffIn
  • VanishOut
  • VanishIn

Expanse (in space)

  • ExpanseUp
  • ExpanseDown
  • ExpanseLeft
  • ExpanseRight