Motion+

View animation

An example of animating a layout change using the View Transitions API via Motion's simple view function.

JavaScript
>Live exampleOpen

Related examples

Latest in JavaScript

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.