• Stars
    star
    592
  • Rank 75,570 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🦸 Beautiful immersive React hero animations.

drawing

Motion Layout

Create beautiful immersive React hero animations using shared components.


Docs

React Motion Layout Docs

About

Motivation

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.

Browser support

Supported on modern versions of all major browsers including:

  • Chrome 56+
  • Firefox 27+
  • IE10+ (including Edge)
  • Safari (iOS) 7.1+
  • Safari (Mac) 9+
  • Firefox Mobile
  • Chrome for Android
  • Android Webview

Declarative

Easy as wraping your text or images with our SharedElement component.

Isolated

It doesn't require external state management libs.

Router Ready

Dispatch animations when changing routes using our React-Router Link component.