RC

Rc Animate

rc-animate

css-transition ui component for react

Animation
react
react-component
react-animate
animate
rc-animate
Animation
javascript
npm
frontend
open source
Stars
675
Weekly
775k
Open issues
18
Bundle
~25 kB

Installation

npm install rc-animate

Code example

import { motion } from "rc-animate";

export function Example() {
  return (
    <motion.div
      initial={{ opacity: 0, y: 12 }}
      animate={{ opacity: 1, y: 0 }}
      transition={{ duration: 0.35 }}
    >
      <h2>Animated with Rc Animate</h2>
    </motion.div>
  );
}

Pros & cons

Pros

  • Actively maintained by yesmeck
  • 775k weekly downloads. Battle tested
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 18 open issues on GitHub

FAQs

Alternatives & similar libraries