Arrow left and right: switch to the adjacent tool in the overview. Arrow up and down scroll the page.

motion.dev

motion.dev

Production-ready Animation Library for React, JavaScript and Vue

Visit Website
Hearts Heat (0–100)
32,539 Stars MIT Jun 25, 2026 Since Nov 2018 119 open issues

AI Summary

Motion is a free, open-source JavaScript animation library for React, JavaScript and Vue. It offers a simple API for performant web animations – from simple transforms to complex interactive gestures with scroll animations, exit animations, layout transitions and spring physics.

Pros

  • + Free and open source with over 30 million monthly npm downloads
  • + Hardware-accelerated animations with hybrid engine for best performance
  • + Simple pick-up-and-play API for quick onboarding and mastery
  • + Extensive Motion+ Community with 1000+ developers and 330+ pre-built examples

Cons

  • Premium Motion+ features and components are paid
  • Learning curve for advanced features such as layout animations and complex orchestration

Use Cases

  • Scroll-based animations for landing pages and marketing websites
  • Interactive UI components with hover, press and drag gestures
  • Layout transitions and exit animations for modern single-page applications
  • Complex animated components such as cursor effects, counters and tickers

Who is it for?

Web developers and frontend teams who want to create performant, production-ready animations for React, JavaScript or Vue projects.

Tags

What is motion.dev?

Motion is an open-source animation library for React, JavaScript and Vue. It combines a hybrid engine that uses hardware acceleration with an API that can be adopted without much overhead. With over 30 million monthly npm downloads, it ranks among the most widely used animation libraries in the JavaScript ecosystem. The core library is free. An optional paid tier called Motion+ unlocks additional components and code examples.

Core features

  • Scroll-based animations: Elements respond to scroll position, which works directly for landing pages and marketing sites.
  • Gesture support: Hover, press and drag interactions can be bound to components declaratively.
  • Layout transitions and exit animations: Transitions between layout states and fading out elements on unmount work without manual DOM manipulation.
  • Spring physics: Animations can use physics-based spring dynamics instead of relying on pure CSS easings.
  • Ready-made examples via Motion+: The community platform offers over 330 examples, from cursor effects to animated counters and tickers.

Who is motion.dev for?

Motion targets frontend developers who want to use animations in production without building their own abstraction on top of browser APIs. React projects benefit most, as the library offers its broadest feature set there. Vue support exists but is less prominently documented.

Anyone who only needs simple CSS transitions is bringing too much into a project with Motion. For layout animations or complex scroll sequences, however, it saves considerable time. Layout animations require a solid understanding of the concepts behind the layout prop. Developers who start there without prior knowledge will spend time debugging unexpected visual jumps.

Context & alternatives

Motion competes directly with GSAP, which is also widely used in professional animation work. GSAP offers more control over complex timelines but requires a paid license for commercial projects. Anime.js is a leaner alternative without framework integration. React Spring takes a similar physics-based approach for React but has a smaller community and less active development.

The main case for Motion is the ratio between API accessibility and depth. Simple animations work in a few lines. Going deeper, spring configuration, orchestration and scroll APIs are all available without having to switch libraries.

Related Tools

Related Blog Posts

Meooow! Want tool tips by email?

Yes, please!