Packages

motion

14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed

Your version

12.41.0

23 Jun 2026Where it was published

12.43.0 is the newest release of 12.x.

In short

6 new4 fixed2 changed

Release note

Added

  • animateView: Moves from Motion+ Early Access and alpha to main library.

  • animateView: .add() resolves a CSS selector or Element to automatically generate, apply and remove view-transition-name.

  • animateView: .new() and .old() configures values to animate on new and old layers.

  • animateView: .layout() can set a custom transition on the size/position animation of the currently selected elements.

  • animateView: Group layers now automatically crop with children set to cover, with border-radius animating from old radius to new. .crop(false) disables this behaviour.

  • animateView: .class(name) tags currently selected elements with a view-transition-class as a custom CSS hook.

Fixed

  • AnimatePresence: Prevent stuck exit animations when children interrupt.

  • drag: Child e.stopPropagation() no longer break drag end.

  • Fixing Next.js OOM on Windows when importing via motion package.

  • animateLayout: Improve handling of parallel/interleaved calls.

Changed

  • animateView: .enter() and .exit() now refer specifically to new and old layers where there are no matching old or new layers.

  • animateView: Interrupted transition setups now return resolved animation rather than throwing.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.