React-Motion
A spring that solves your animation problems.
Live Demo
- Simple Transition
- Chat Heads
- Draggable Balls
- TodoMVC List Transition
- Photo Gallery
- Spring Parameters Chooser
- Water Ripples
- Draggable List
Install
-
Npm:
npm install --save react-motion
-
Bower: do not install with
bower install react-motion
, it won't work. Usebower install --save https://unpkg.com/react-motion/bower.zip
. Or inbower.json
:
{
"dependencies": {
"react-motion": "https://unpkg.com/react-motion/bower.zip"
}
}
then include as
<script src="bower_components/react-motion/build/react-motion.js"></script>
- 1998 Script Tag:
<script src="https://unpkg.com/react-motion/build/react-motion.js"></script>
(Module exposed as `ReactMotion`)