PACKAGE · ANIMATION

motion

An animation library for JavaScript and React.

WEEKLY DOWNLOADS 39.6M
STARS 35.6K
FORKS 1.6K
OPEN ISSUES 9
GZIP SIZE 67.3 kB
UNPACKED SIZE 1.0 MB
DEPENDENCIES 4
LAST UPDATED 8mo ago
DOWNLOAD TRENDS

motion downloads · last 12 months

Download trends for motion1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.029.9M59.8M89.7M119.5MNov 2025FebMayAugOct 2026
motion
ABOUT MOTION

Motion is a JavaScript and React animation library for adding movement to interface elements. It provides a way to describe animations in application code rather than implementing every transition as a separate, hand-tuned effect, with animation, spring, and React use reflected in its project topics.

The package is aimed at developers building animated experiences in JavaScript or React who want animation to be part of their interface implementation. Its stated scope covers both the broader JavaScript environment and React, so it can serve projects where motion needs to connect to application UI rather than exist only as a standalone visual asset.

Motion’s package description does not specify individual API names or configuration syntax, so consult the version 14.14.0 documentation before adopting particular hooks, components, or animation patterns. The available metadata does identify animation and spring as central topics; use those as orientation, not as a substitute for checking the supported APIs and behavior in the installed version.

The package is categorized for animation and lists JavaScript and React among its topics, making those the relevant integration contexts to evaluate. Before adding it to a project, check whether the application’s rendering setup and chosen framework usage are covered by its documentation, especially if the animation must work across multiple rendering environments.

The listed gzip bundle size is 67.3 kB, and the unpacked package size is 1.0 MB; account for those figures when assessing delivery and installation constraints. The supplied metadata also reports 34.4M weekly downloads, 35.1K GitHub stars, 1.5K forks, 10 open issues, an MIT license, and a last-updated date of 2026-11-13; these are point-in-time indicators, not guarantees about support or runtime behavior.

A practical caveat is that the metadata does not describe browser support, accessibility behavior, server-rendering compatibility, or the details of its APIs. Verify those requirements in the version-specific documentation and test animations with the input methods and rendering conditions your interface supports.

WHEN TO USE
  • When implementing animated React interfaces, evaluate Motion as the package explicitly lists React as a core topic and is described as an animation library for React.
  • When writing JavaScript-driven interface animation, use Motion as a candidate library for keeping animation work in application code.
  • When a design calls for spring-style movement, investigate Motion’s spring-related capabilities and confirm the exact API in the version 14.14.0 documentation.
  • When comparing animation dependencies, use the listed 67.3 kB gzip bundle size and 1.0 MB unpacked size as concrete inputs to your project’s size review.
  • When checking project licensing, review Motion’s stated MIT license against your organization’s dependency requirements.
  • When assessing package activity, consider the provided download, repository, issue, and update figures alongside your own review of current maintenance and documentation.
WHEN NOT TO USE
  • If your application does not use JavaScript or React for interface animation, Motion’s stated focus may not fit; choose an approach designed for your rendering environment.
  • If the required animation depends on an API whose availability is not confirmed for version 14.14.0, verify the documentation before adoption or implement the effect using your existing animation mechanism.
  • If the listed 67.3 kB gzip bundle size exceeds your delivery budget, compare a lighter animation approach and measure its impact in your own build.
  • If you need documented guarantees for server rendering, browser support, or accessibility behavior, the supplied package details do not establish them; verify those requirements or use an approach with explicit documentation for them.
  • If your interface only needs static visual states and no movement, avoid adding an animation dependency and use ordinary styling or markup instead.
  • If your team requires a specific API pattern, such as named hooks or components, but cannot confirm that Motion provides it in the installed version, check its documentation first or choose a library with a verified matching API.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 4
motion vs @formkit/auto-animate ★ 14.0K · 2.6M/wk motion vs gsap ★ 31.3K · 8.3M/wk motion vs animejs ★ 75.1K · 1.2M/wk motion vs framer-motion ★ 35.6K · 72.8M/wk