motion
Installation
SKILL.md
Motion (formerly Framer Motion) — Animation for React
Overview
Motion is the production animation library for React (previously published as framer-motion). Animations are declared as props on motion.* components: initial, animate, exit, whileHover, whileTap, whileInView, layout, layoutId and variants. Springs are the default for physical values, and transform and opacity animations run on the GPU. Version 14.0.0 was published on 2026-10-02; 12.x and 13.x code keeps working for the APIs shown here, but check the changelog if you relied on internal framer-motion APIs.
Instructions
Install and import
npm install motion
import { motion, AnimatePresence } from "motion/react";