react-motion is a react javascript package to provide physics based spring animations to react components.
react-motion provides a simple way to apply physics based spring animations to reacgt components. The animations are controlled by stiffness and damping settings as opposed to hard coded easing curves.
It works by providing interpolated css styles that act as tweens in an animation. You provide a start and end style (keyframe) and react-motion will calculate the intermediate style on each rendered frame based on the stiffness and damping.
react-motion is unique in that it uses the function as props technique to easily access the intermediate styles.
Resources Github page for react-motion enter link description here