Motion+

Shared layout animation

An example of a shared layout animation, where two elements are animated from one to the other, using Motion for React's simple layoutId prop.

React
>Live exampleOpen

Related examples

Latest in React

Motion+

Unlock all 370+ examples

  • Source code for every Plus example.
  • Provide examples direct to your agent via Motion's MCP.
  • Lifetime access to new examples and APIs.