React Smooth
react-smooth
react animation library
Animation
react
reactjs
animation
react-component
react-smooth
javascript
npm
frontend
open source
ui
Stars
285
Weekly
28M
Open issues
11
Bundle
~15 kB
Installation
npm install react-smoothCode example
import { motion } from "react-smooth";
export function Example() {
return (
<motion.div
initial={{ opacity: 0, y: 12 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.35 }}
>
<h2>Animated with React Smooth</h2>
</motion.div>
);
}Pros & cons
Pros
- Actively maintained by JasonHzq
- 28M weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 11 open issues on GitHub