Motion+

Spinning 3D cube

An example of using Motion for React's useAnimationFrame hook to animate a 3D cube.

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.