Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Framer Motion

Simple and powerful animation library for React components.

Animation and motionNPM

GitHubWebsite

1. License

License from npm.

github.com/motiondivision/motion

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Framer Motion does

Framer Motion is now called Motion: the <code>framer-motion</code> package still ships releases, but the README says to import from <code>motion/react</code>, and the project adds tooling built for coding agents (a free MCP server, an agent skill and Markdown docs).

Framer Motion popularity

88 / 100
Gid Score, #16 overall
74M
downloads a week, npm
35.5K
GitHub stars
495
agent projects use it
Framer Motion: downloads per weeknpm, framer-motion 73,955,501
Framer Motion: GitHub starsmotiondivision/motion 35,508

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Framer Motion is used

  • Framer Motion is a dependency in 495 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (10.2% of the 4,867 JavaScript/TypeScript ones), #2 of 46 in animation and motion.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 2,826; those are left out of every share on this page.
  • The most used alternative in our scan is Motion (218 projects).
  • Projects that use it most often also use Lucide React (84.2%), clsx (77.6%), Tailwind Merge (75.6%).
  • It is more common in projects set up for Roo Code (17.1%) than for OpenCode (4.7%).

By coding agent

268 projects, 11.0%
244 projects, 7.4%
234 projects, 7.7%
47 projects, 16.8%
33 projects, 7.0%
26 projects, 5.5%
19 projects, 17.1%
16 projects, 4.7%

Often used with

In 84.2% of its projects
In 77.6% of its projects
In 75.6% of its projects
In 97.6% of its projects
In 66.7% of its projects
In 92.5% of its projects
In 67.3% of its projects
In 61.8% of its projects

Framer Motion in practice

Strengths

Motion values bypass React renders

You can set values made with <code>useMotionValue</code> many times per frame. The docs say each change updates the DOM without a React re-render, and renders are batched to the next animation frame.

Composable values for drag-linked effects

<code>useTransform</code> derives one motion value from another, and <code>useSpring</code> attaches a spring to a value. The docs' example fades an element's opacity as it is dragged.

Built on the Web Animations API

The performance guide says Motion uses WAAPI, so it can run some animations off the main JavaScript thread. The guide says a hardware-accelerated animation stays smooth however busy the main thread gets.

Layout changes from one prop

The site says a single <code>layout</code> prop animates an element between any two layouts.

Watch out for

The name and import path changed

The package used to be called <code>framer-motion</code>. The README tells you to install <code>motion</code> and import from <code>motion/react</code> instead.

Shorthand transforms are not accelerated

When you animate <code>x</code> or <code>scale</code> on their own, Motion animates CSS variables under the hood. The docs say these do not get hardware acceleration. Use a full <code>transform</code> string when acceleration matters.

CSS variable animations can end instantly

The FAQ says animations of CSS variables finish at once in browsers that lack the CSS Properties and Values API. It also says Motion does not support Internet Explorer 11 or below.

Animate a div in React

import { motion } from "motion/react"

function Component() {
  return <motion.div animate={{ x: 100 }} />
}

More about Framer Motion

Funding
  • Own page: https://motion.dev/plus

See all

Agent Skills for it
  • framer-motion: Use when implementing Disney's 12 animation principles with Framer Motion in React applications

See all

Head to head
Packages around it
  • react: UI library
  • tailwindcss: Utility-first CSS
  • lucide-react: Icon set
  • clsx: Conditional class names
  • tailwind-merge: Tailwind class merging
  • @react-three: React renderer for three.js
More in Animation and motion

Alternatives

Framer Motion This page

MITGid 8874M/wk

Motion

Animation library for JavaScript and React with simple, powerful motion primitives.

MITGid 8339.7M/wk

GSAP

Professional animation library for high-performance CSS, SVG, canvas and React animations.

Standard 'no charge' license: https://gsap.com/standard-license.Gid 778.4M/wk

React Spring

Physics-based animation library for React and React Three Fiber with smooth transitions.

MITGid 662.3M/wk

Anime.js

Lightweight JavaScript animation engine for creating smooth animations.

MITGid 621.2M/wk

Compare Framer Motion with another tool

Get started

Install it.

npm install framer-motion

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## Motion (Framer Motion)
- Install `motion` and import from `motion/react` in new code, not from `framer-motion`.
- For values that change often (drag, scroll, pointer), use `useMotionValue` and `useTransform` so updates skip React re-renders.
- When you subscribe with a motion value's `on` method inside a component, wrap the call in `useEffect` or use `useMotionValueEvent`.
- Prefer animating `transform` and `opacity`. If hardware acceleration matters, animate a full `transform` string instead of `x`/`scale`.
- Animate `filter: drop-shadow(...)` instead of `boxShadow`, and `clipPath: inset(... round ...)` instead of `borderRadius`.
- Do not import Motion+ components (Motion UI, AnimateNumber) as if they were in the free package. Check the docs entry first.
- Fetch docs as Markdown by adding `.md` to a docs URL, or use the free MCP server at https://mcp.motion.dev.