BASE

Motion / Framer Motion

Motion / Framer Motion

Library + Skill + MCP · Free + paid

An animation library for JavaScript, React, and Vue. Motion for React is the new name for Framer Motion; the import for new projects is motion/react.

Also known as: framer motion; motiondivision; motion react; motion.dev

Resource illustration: Motion / Framer Motion

Open resource ↗

What you can use for free

MIT library, official Motion Skill, and MCP documentation search.

Paid features and costs

Motion+ with additional materials and tools.

Access and limitations

The MIT library, official Motion Skill, and MCP documentation search are free. Motion+ with additional materials and tools is paid.

Use cases

  • Animating elements as they appear, disappear, rearrange, and are dragged
  • Giving Codex current documentation through Motion MCP and instructions through the motion skill

Example workflow

A possible workflow; this is not a report of hands-on testing.

Animate a card being added and removed.

Before you start

  • A React list with stable keys.
  • Appearance and removal states.

Steps

  1. Create a motion component for the card.
  2. Wrap removable elements in AnimatePresence and define exit.
  3. Test rapid additions, removals, and reduced motion.

Check your result

  • A removed card is no longer interactive.
  • Focus follows a clear path.

Choosing Motion / Framer Motion

Connect React interface animation to state, appearance, layout, and gestures.

Choose this when

  • You need smooth rearrangement of a list or cards.
  • You need enter/exit animations for React components.

Consider alternatives when

  • CSS suits a small hover effect; GSAP suits a controlled timeline of several scenes.

Requirements

  • A React project and Motion; the specific example must match the chosen API.

Things to consider

  • Animation does not automatically make an inaccessible component accessible.
  • The library and additional commercial materials have different terms.

Frequently asked questions

How do you animate removing an element?

React component exit animations use AnimatePresence; define the element's required exit state.

Related tasks and approaches

  • React

    Foundation: component state and lifecycle.

  • GSAP

    Alternative: an explicit timeline and optional plugins.

Tech stack

  • React
  • Vue
  • JavaScript

License

MIT

MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.

License terms

Usage details

Motion for React is the new name for Framer Motion, with motion/react as the import for new projects. Add the library to project dependencies. Separate official skills and documentation MCP help an agent use the API; support is not limited to Claude.

Technologies and topics

  • Motion
  • Framer Motion
  • React
  • Vue
  • JavaScript
  • MCP

Sources

Other resources