Skip to main content
Motion & React3 min readNovember 2026

Framer Motion vs Motion: what is the difference?

Short answer

They are the same library. Framer Motion became Motion when it went independent from Framer. New projects install the motion package and import from "motion/react". The framer-motion package is still published with the same version number, so old code keeps working, but the docs now live at motion.dev.

Core Takeaway

  • Same library, new name and home: motion.dev
  • Install: npm install motion
  • Import: import { motion } from "motion/react"
  • framer-motion is still published, at the same version as motion
  • Motion also has a vanilla JavaScript API, not just React

Searches for "framer motion vs motion" come from developers who see both names in tutorials. There is only one library.

How to upgrade

npm uninstall framer-motion
npm install motion
// before
import { motion, AnimatePresence } from 'framer-motion';
// after
import { motion, AnimatePresence } from 'motion/react';

The APIs are the same, so most projects only change the import. Read the upgrade guide on motion.dev if you are jumping several major versions, because some older APIs changed over time.

Why the name changed

Motion now runs as an independent open-source project with sponsors, including Framer. It also has a vanilla JavaScript API for non-React sites, which made the React-only name a poor fit.

Next.js App Router

Motion components need the browser, so either mark the file with "use client" or use import * as motion from "motion/react-client" in a server component, as the Motion installation docs describe.

Frequently asked questions

Is framer-motion deprecated?

It is still published and updated alongside motion. New projects should use the motion package.

Do I need to rewrite my animations?

Usually not. Change the import path from framer-motion to motion/react.

Is Motion only for React?

No. It has a JavaScript API for any site, plus React and Vue packages.

How do I install Framer Motion?

Run npm install motion and import from motion/react.

Related Guides & Examples

Moving away from hand-coded motion?

See how teams move Framer Motion components into ExodeUI files.

Read the migration guide
ExodeUI

EXODEUI DESKTOP

A little space for good ideas.

Choose your platform to get the official ExodeUI installer.

Looking for Intel Mac or other builds? Explore the web studio or check all download options.

Prefer the browser? Try for free in your browser →