formerly yubaba - element motion for React.js 💨✨
It's all about ✨motion over state transitions ✨it can help with:
- 📴 Enabling animations to be possible between disconnected elements in the React tree
- 🚚 Moving an element from one location to another
- 💨 Revealing elements inside another element
- 👓 Supporting animations by obstructing elements in view
- 🤫 Hiding children elements until animations have completed to trick users
- 🔢 Orchestrating when animations should start and in what order
- 📝 Composing animations together to create composite animations, for example CrossFadeMove
- 🤯 Anything you can imagine, seriously
npm install @element-motion/core react react-dom emotion --saveor
yarn add @element-motion/core react react-dom emotionReact should be greater or equal to v16.4, emotion should be greater or equal to v9.
Tip - Both es and commonjs modules are provided in the package. Make sure to consume the es modules for their tree shaking ability!
import Animator, { Move } from '@element-motion/core';
({ isLarge }) => (
<Animator triggerSelfKey={isLarge}>
<Move>{anim => <div {...anim} className={isLarge ? 'large' : 'small'} />}</Move>
</Animator>
);- First time here? After installing head over to Getting started to start learning the basics
- Interested in animating an element? Check out Focal animations
- For ready made experiences check out Composite components, just grab them and go!
- Having trouble? Maybe Troubleshooting has your answers



