Open source / MIT Licensev13.0.0

Motion.
Production-grade animation for the web.

01 / Free
Completely free to use, MIT licensed and open source.
02 / Production ready
Trusted by Framer and Figma across hundreds of thousands of sites.
03 / Hybrid engine
JavaScript and hardware-accelerated browser APIs in one library.
04 / Built for AI
Agent-compatible documentation, skills and API.
05 / Tiny footprint
APIs up to 90% smaller than their GSAP alternative.

Animations that move.

Create high-performance web animations with Motion's easy-to-use API, from simple transforms to advanced interactive gestures.

01

Independent transforms

Animate x, y, rotate, scale on the same element, without wrappers.

02

Scroll animation

Hardware-accelerated scroll-linked motion via ScrollTimeline.

03

Native gestures

hover, press, and drag that feel native, not bolted on.

04

Layout animation

Animate between any two layouts with a single layout prop.

05

Spring physics

Real spring math for animations that naturally react to user input.

06

Exit animation

AnimatePresence keeps elements alive so they can animate as they leave the DOM.

07

Timeline sequences

variants, stagger, and timelines orchestrate complex motion.

08

Motion values

useMotionValue drives animations and derived state in real time.

Give every project a head start.

Equip your agent with specialist Motion context, then build from production-ready animated sections that inherit your design system.

Help your AI agent understand Motion
AI Kit

Give your agent specialist Motion judgement.

Send the latest docs, 410+ example sources, performance audits and production-ready CSS springs directly to your agent.

Explore AI Kit

Made with Motion.

Everything's possible with Motion. Here are some of the best creations from the Motion community.

Latest from Motion.

Release notes and magazine stories from the Motion team.

ChangelogRSS
  1. Motionmajor13.0.0

    Changed

    • Removed optional @emotion/is-prop-valid dependency in favour of explicit <MotionConfig isValidProp={isPropValid}>.

    Fixed

    • Hardware-accelerated SVG elements correctly apply final style on animation complete.
    • AnimatePresence: Ensure nodes are marked as safe to remove when rendering propagate with no motion children.
  2. Motionminor12.43.0

    Added

    • Hardware acceleration for backgroundColor in supported browsers.
    • Hardware acceleration for SVG elements.

    Fixed

    • AnimatePresence: Exiting children no longer interleave with entering children, which could reorder and remount children present in both renders.
    • motion: Throw error when passing a custom motion component an incorrect ref type.
  3. Motion AI Kitminor6.2.0

    Added

    • MCP: search-motion-codex now returns Motion UI components and sections (Motion+ / React) as full multi-file paste-ready source — same delivery model as examples, baked into the package.
  4. Motion UIpatch0.0.1

    Added

  5. Motionpatch12.42.2

    Fixed

    • animateView: Cropped group layers now animate border-radius from the old to new radius.

Trusted by the world's leading teams.

Motion is deployed and sponsored by the best teams in the industry, powering UI animations across millions of sites.

Choose your runtime

Start with the API built for your project.

Developer tools

  1. AI KitGive your agent specialist Motion skills.
  2. Motion UIProduction-ready animated sections for your design system.
  3. CSS StudioVisually edit the CSS in your existing project.
  4. MotionScoreFind and fix animation performance issues.