Create beautiful immersive React hero animations using shared components.
There are amazing libraries like framer-motion that help you create animations when mounting or unmounting components. But, if two routes have the same image in different positions and sizes, they cannot be animated together. With Motion Layout, you can link components together to animate them when changing views.
Supported on modern versions of all major browsers including:
Easy as wraping your text or images with our SharedElement component.
It doesn’t require external state management libs.
Dispatch animations when changing routes using our React-Router Link component.
Author: jeffersonlicet
Demo: http://motion-layout.com/
Source Code: https://github.com/jeffersonlicet/react-motion-layout
#react #reactjs #javascript