Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Spring | 25,759 | 1,464 | 1,337 | 21 hours ago | 363 | September 13, 2022 | 87 | mit | TypeScript | |
✌️ A spring physics based React animation library | ||||||||||
React Three Fiber | 22,691 | 123 | 4 days ago | 147 | September 23, 2022 | 59 | mit | TypeScript | ||
🇨🇭 A React renderer for Three.js | ||||||||||
Popmotion | 19,430 | 484 | 204 | 3 days ago | 65 | November 14, 2019 | 47 | JavaScript | ||
Simple animation libraries for delightful user interfaces | ||||||||||
Dynamics.js | 7,248 | 155 | 47 | 4 years ago | 13 | August 27, 2016 | 10 | CoffeeScript | ||
Javascript library to create physics-based animations | ||||||||||
Advance | 4,475 | 5 | a year ago | 8 | October 22, 2018 | 2 | bsd-2-clause | Swift | ||
Physics-based animations for iOS, tvOS, and macOS. | ||||||||||
Engine | 3,599 | a day ago | 233 | mit | TypeScript | |||||
A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF. | ||||||||||
Yapanimator | 1,922 | 3 | 2 years ago | 3 | October 09, 2017 | 5 | bsd-2-clause | Swift | ||
Your fast and friendly physics-based animation system. | ||||||||||
Impulse | 1,618 | 1 | 8 years ago | December 08, 2014 | 15 | mit | JavaScript | |||
Dynamic Physics Interactions for the Mobile Web | ||||||||||
Reactphysics3d | 1,232 | 22 days ago | 81 | zlib | C++ | |||||
Open source C++ physics engine library in 3D | ||||||||||
Jnwspringanimation | 1,015 | 17 | 6 years ago | 3 | May 21, 2015 | mit | Objective-C | |||
Spring physics for Core Animation. |
react-spring
is a cross-platform spring-physics first animation library.
It's as simple as:
const styles = useSpring({
from: {
opacity: 0
},
to: {
opacity: 1
}
})
<animated.div style={styles} />
Just a small bit about us:
react-dom
, react-native
, react-three-fiber
, react-konva
& react-zdog
.There's a lot more to be had! Give it a try and find out.
# Install the entire library
npm install react-spring
# or just install your specific target (recommended)
npm install @react-spring/web
import { animated, useSpring } from '@react-spring/web'
const FadeIn = ({ isVisible, children }) => {
const styles = useSpring({
opacity: isVisible ? 1 : 0,
y: isVisible ? 0 : 24,
})
return <animated.div style={styles}>{children}</animated.div>
}
It's as simple as that to create scroll-in animations when value of isVisible
is toggled.
More documentation on the project can be found here.
Pages contain their own examples which you can check out there, or open in codesandbox for a more in-depth view!
And many others...
Thank you to all our backers! If you want to join them here, then consider contributing to our Opencollective.
This project exists thanks to all the people who contribute.