{"name":"framer-motion","version":"12.19.3","keywords":["react animation","react","pose","react pose","animation","gestures","drag","spring","popmotion","framer","waapi"],"author":{"name":"Matt Perry"},"license":"MIT","_id":"framer-motion@12.19.3","maintainers":[{"name":"kirill.zonov","email":"kirill@framer.com"},{"name":"framerjs-owner","email":"npm@framer.com"},{"name":"nvh","email":"npm@nvh.io"},{"name":"koenbok","email":"koen+npm@framer.com"},{"name":"lempsink","email":"eelco@framer.com"},{"name":"fverloop","email":"f.verloop@gmail.com"},{"name":"edomarkets","email":"edoardo71@msn.com"},{"name":"jurrehoutkamp","email":"jurrehoutkamp@gmail.com"},{"name":"motifus","email":"bots@framer.com"},{"name":"koenrh","email":"koenrh@framer.com"},{"name":"aroagb","email":"aroa@framer.com"},{"name":"cminardi","email":"claudia@framer.com"},{"name":"oscarlsson","email":"oscar@framer.com"},{"name":"shuangq","email":"shuang@framer.com"},{"name":"melirofman","email":"meli.rofman@gmail.com"},{"name":"jonastreub","email":"jonastreub@me.com"},{"name":"ogorter","email":"onne@framer.com"},{"name":"jornvandijk","email":"jorn@framer.com"},{"name":"iamakulov","email":"mail@iamakulov.com"},{"name":"benjamindenboer","email":"benjamin@framer.com"},{"name":"hemlok","email":"adam.seckel@gmail.com"},{"name":"hunterhcaron","email":"huntercaron@mac.com"},{"name":"heypiotr_f","email":"piotr@framer.com"},{"name":"k15a","email":"npmjs.com@konstantin.tech"},{"name":"danillouz","email":"daniel.illouz@me.com"},{"name":"tom-james-watson","email":"tom@tomjwatson.com"},{"name":"arturfortunato","email":"artur.fortunato@framer.com"},{"name":"ankon","email":"andreas.kohn@gmail.com"},{"name":"serhii.havrylenko","email":"sebastian@framer.com"},{"name":"alecmev-framer","email":"alec@framer.com"},{"name":"coobaha_","email":"coobaha@gmail.com"},{"name":"carlosnunez","email":"carlesnunezt@gmail.com"},{"name":"danieladias","email":"daniela@framer.com"},{"name":"andrey.ozornin","email":"andrey.ozornin@framer.com"},{"name":"kurtextrem","email":"kurtextrem@gmail.com"},{"name":"andrey-framer","email":"andrey@framer.com"},{"name":"triozer-framer","email":"cedric@framer.com"},{"name":"niekert1","email":"niekkruse70@gmail.com"},{"name":"gasim-framer","email":"gasim@framer.com"},{"name":"szymon-framer","email":"szymon@framer.com"},{"name":"waraness99","email":"druon.constant@gmail.com"},{"name":"kaloyanvi","email":"kaloyan@framer.com"},{"name":"gilmarsquinelato","email":"gilmarsquinelato@gmail.com"},{"name":"framer_pablo","email":"pablo@framer.com"},{"name":"pedro-martinho","email":"pedro.martinho@framer.com"},{"name":"nick-framer","email":"nick@framer.com"},{"name":"will_framer","email":"will@framer.com"},{"name":"xavi-at-framer","email":"xavi@framer.com"},{"name":"tim-framer","email":"tim@framer.com"},{"name":"framer-hayley","email":"hayley@framer.com"},{"name":"igor-framer","email":"igor@framer.com"},{"name":"matej-framer","email":"matej@framer.com"},{"name":"zoltan-frm","email":"zoltan@framer.com"},{"name":"lina.sizov","email":"lina@framer.com"},{"name":"dw-framer","email":"dw@framer.com"},{"name":"smvv-framer","email":"sander@framer.com"},{"name":"elmarburke","email":"hi@elmar.codes"},{"name":"erikbooijfr","email":"erik@framer.com"},{"name":"framergeorge","email":"george.field@framer.com"},{"name":"william-framer","email":"william@framer.com"},{"name":"ruben-c-framer","email":"ruben@framer.com"},{"name":"popmotion","email":"mattgperry@gmail.com"}],"homepage":"https://github.com/motiondivision/motion#readme","bugs":{"url":"https://github.com/motiondivision/motion/issues"},"dist":{"shasum":"ca143e522eac391cf1747a59892bb600d7a65de2","tarball":"http://registry-npm.ywwl.com/framer-motion/download/framer-motion-12.19.3.tgz","fileCount":268,"integrity":"sha512-HyZcUg6ctPC+Gt7EOmK7SIycK8qnz65kponx14Hvqv4r1H1MvKjAFMswWxmLCHHO9reit2ZSNZFmw0L+rgIbcQ==","signatures":[{"sig":"MEUCIQDpPLSkjN6FzuxI/CM2QWJ2oQ3PEw11A5UdaXwyXmKhzwIgNxFSkp+oe7IFC+JxMsSrcxFCIDb64ObJwvY4GBcmHSQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2302385,"size":595753,"noattachment":false,"key":"/framer-motion/-/framer-motion-12.19.3.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/es/index.mjs","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/es/index.mjs","default":"./dist/cjs/index.js","require":"./dist/cjs/index.js"},"./m":{"types":"./dist/m.d.ts","import":"./dist/es/m.mjs","default":"./dist/cjs/m.js","require":"./dist/cjs/m.js"},"./dom":{"types":"./dist/dom.d.ts","import":"./dist/es/dom.mjs","default":"./dist/cjs/dom.js","require":"./dist/cjs/dom.js"},"./mini":{"types":"./dist/mini.d.ts","import":"./dist/es/mini.mjs","default":"./dist/cjs/mini.js","require":"./dist/cjs/mini.js"},"./debug":{"types":"./dist/debug.d.ts","import":"./dist/es/debug.mjs","default":"./dist/cjs/debug.js","require":"./dist/cjs/debug.js"},"./client":{"types":"./dist/types/client.d.ts","import":"./dist/es/client.mjs","default":"./dist/cjs/client.js","require":"./dist/cjs/client.js"},"./dom/mini":{"types":"./dist/dom-mini.d.ts","import":"./dist/es/dom-mini.mjs","default":"./dist/cjs/dom-mini.js","require":"./dist/cjs/dom-mini.js"},"./projection":{"import":"./dist/es/projection.mjs","default":"./dist/es/projection.mjs"},"./package.json":"./package.json"},"gitHead":"e357770dd30ed8d4c6ea904778cf8bf4819a348e","scripts":{"dev":"yarn watch","lint":"yarn eslint src/**/*.ts","test":"yarn test-server && yarn test-client","build":"yarn clean && tsc --noEmitOnError -p . && rollup -c && node ./scripts/check-bundle.js","clean":"rm -rf types dist lib","watch":"concurrently -c blue,red -n tsc --noEmitOnError ,rollup --kill-others \"tsc  --noEmitOnError --watch -p . --preserveWatchOutput\" \"rollup --config --watch --no-watch.clearScreen\"","eslint":"yarn run lint","measure":"rollup -c ./rollup.size.config.mjs","prepack":"yarn build && yarn measure","prettier":"prettier ./src/* --write","postpublish":"git push --tags","test-client":"jest --config jest.config.json --max-workers=2","test-server":"jest --config jest.config.ssr.json"},"_npmUser":{"name":"popmotion","actor":{"name":"popmotion","type":"user","email":"mattgperry@gmail.com"},"email":"mattgperry@gmail.com"},"bundlesize":[{"path":"./dist/size-rollup-motion.js","maxSize":"34.9 kB"},{"path":"./dist/size-rollup-m.js","maxSize":"6 kB"},{"path":"./dist/size-rollup-dom-animation.js","maxSize":"17.85 kB"},{"path":"./dist/size-rollup-dom-max.js","maxSize":"29.8 kB"},{"path":"./dist/size-rollup-animate.js","maxSize":"19.1 kB"},{"path":"./dist/size-rollup-scroll.js","maxSize":"5.2 kB"},{"path":"./dist/size-rollup-waapi-animate.js","maxSize":"2.26 kB"}],"repository":{"url":"git+https://github.com/motiondivision/motion.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v18.20.5+arm64 (darwin)","description":"A simple and powerful JavaScript animation library","directories":{},"sideEffects":false,"_nodeVersion":"18.20.5","dependencies":{"tslib":"^2.4.0","motion-dom":"^12.19.3","motion-utils":"^12.19.0"},"_hasShrinkwrap":false,"devDependencies":{"three":"0.137.0","@types/three":"0.137.0","@thednp/dommatrix":"^2.0.11"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0","@emotion/is-prop-valid":"*"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"@emotion/is-prop-valid":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/framer-motion_12.19.3_1751282464757_0.6182233354188811","host":"s3://npm-registry-packages-npm-production"},"readme":"<h1 align=\"center\"> <img width=\"35\" height=\"35\" alt=\"Motion logo\" src=\"https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc\" /><br />Motion for React</h1>\n<h3 align=\"center\">\n  An open source animation library<br />for React\n</h3>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/motion\" rel=\"noopener noreferrer nofollow\" ><img src=\"https://img.shields.io/npm/v/motion?color=0368FF&label=version\" alt=\"npm version\"></a>\n  <a href=\"https://www.npmjs.com/package/motion\" rel=\"noopener noreferrer nofollow\" ><img src=\"https://img.shields.io/npm/dm/framer-motion?color=8D30FF&label=npm\" alt=\"npm downloads per month\"></a>\n  <a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://www.jsdelivr.com/package/npm/motion\"><img alt=\"jsDelivr hits (npm)\" src=\"https://img.shields.io/jsdelivr/npm/hm/framer-motion?logo=jsdeliver&color=FF4FBA\"></a>\n  <img alt=\"NPM License\" src=\"https://img.shields.io/npm/l/motion?color=FF2B6E\">\n  <a target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://score.motion.dev/site/motion.dev?utm_source=github&utm_medium=readme-badge\"><img height=\"20\" alt=\"MotionScore grade\" src=\"https://api.motion.dev/score/badge?url=motion.dev\"></a>\n</p>\n\n```bash\nnpm install motion\n```\n\n## Table of Contents\n\n1. [Why Motion?](#why-motion)\n2. [🍦 Platforms](#-platforms)\n3. [🎓 Examples](#-examples)\n4. [🎨 Motion Studio](#-motion-studio)\n4. [🤖 Using Motion with AI](#-using-motion-with-ai)\n5. [⚡️ Motion+](#-motion)\n6. [👩🏻‍⚖️ License](#-license)\n7. [💎 Contribute](#-contribute)\n8. [✨ Sponsors](#-sponsors)\n\n## Why Motion?\n\n-   **Simple API:** First-class React, JavaScript, and Vue packages.\n-   **Hybrid engine:** Power of JavaScript combined with native browser APIs for 120fps, GPU-accelerated animations.\n-   **Production-ready:** TypeScript, extensive test suite, tree-shakable, tiny footprint.\n    **Batteries included:** Gestures, springs, layout transitions, scroll-linked effects, timelines.\n\n## 🍦 Platforms\n\nMotion is available for [React](https://motion.dev/docs/react), [JavaScript](https://motion.dev/docs/quick-start) and [Vue](https://motion.dev/docs/vue).\n\n### React\n\n```jsx\nimport { motion } from \"motion/react\"\n\nfunction Component() {\n    return <motion.div animate={{ x: 100 }} />\n}\n```\n\nGet started with [Motion for React](https://motion.dev/docs/react).\n\n**Note:** Framer Motion is now Motion. Import from `motion/react` instead of `framer-motion`.\n\n### JS\n\n```javascript\nimport { animate } from \"motion\"\n\nanimate(\"#box\", { x: 100 })\n```\n\nGet started with [JavaScript](https://motion.dev/docs/quick-start).\n\n### Vue\n\n```html\n<script>\n    import { motion } from \"motion-v\"\n</script>\n\n<template> <motion.div :animate={{ x: 100 }} /> </template>\n```\n\nGet started with [Motion for Vue](https://motion.dev/docs/vue).\n\n## 🎓 Examples & tutorials\n\nBrowse 450+ [official examples](https://motion.dev/examples), with copy-paste code that'll level-up your animations whether you're a beginner or an expert.\n\nOver 110 examples come with a full step-by-step tutorial on [their example page](https://motion.dev/examples).\n\n## 🤖 Using Motion with AI\n\nGive your coding agent current Motion docs:\n\n-   **Agent skill:** `npx motion-ai` installs the free, MIT-licensed `/motion` skill and sets up Motion's MCP servers for Claude Code, Cursor, Amp, OpenCode, Gemini CLI and Copilot. [Source on GitHub](https://github.com/motiondivision/ai-kit).\n-   **MCP server:** `https://mcp.motion.dev` searches the Motion docs and example metadata. It is free and needs no account.\n-   **llms.txt:** [motion.dev/llms.txt](https://motion.dev/llms.txt?utm_source=npm-readme) indexes every docs page. Motion+ pages are labelled as paid, with their install and import.\n\n[Motion+](https://motion.dev/plus?utm_source=npm-readme) adds example and Motion UI source, MotionScore performance audits and CSS spring generation for your agent.\n\n## 🎨 Motion Studio\n\nA visual animation editor for your website. Edit keyframes, easing curves and springs on a live timeline, or describe changes to the Ultramotion agent, then apply the result straight to your code with Cursor, Codex or Claude.\n\n[Explore Motion Studio](https://motion.dev/studio)\n\n## ⚡️ Motion+\n\nA one-time Personal licence with lifetime updates, or an annual per-seat Business plan for teams:\n\n-   **450+ examples**\n-   **110+ tutorials**\n-   **Premium APIs** like [Cursor](https://motion.dev/docs/cursor) and [Ticker](https://motion.dev/docs/react-ticker)\n-   **Transition editor** for Cursor and VS Code\n-   **AI Kit:** example and Motion UI source, MotionScore audits and CSS springs for your agent\n-   **Private Discord**\n-   **Early access content**\n\n[Get Motion+](https://motion.dev/plus)\n\n## 👩🏻‍⚖️ License\n\n-   Motion is MIT licensed.\n\n## 💎 Contribute\n\n-   Want to contribute to Motion? Our [contributing guide](https://github.com/motiondivision/motion/blob/master/CONTRIBUTING.md) has you covered.\n\n## ✨ Sponsors\n\nMotion is sustainable thanks to the kind support of its sponsors.\n\n[Become a sponsor](https://motion.dev/sponsor)\n\n### Partners\n\nMotion powers the animations for all websites built with Framer, the web builder for creative pros. The Motion website itself is built on Framer, for its delightful canvas-based editing and powerful CMS features.\n\n<a href=\"https://framer.link/FlnUbQY\">\n  <img alt=\"Framer\" src=\"https://github.com/user-attachments/assets/22a79be7-672e-4336-bfb7-5d55d1deb917\" width=\"250px\" height=\"150px\">\n</a>\n\nMotion drives the animations on the Cursor homepage, and is working with Cursor to bring powerful AI workflows to the Motion examples and docs.\n\n<a href=\"https://cursor.com\">\n  <img alt=\"Cursor\" src=\"https://github.com/user-attachments/assets/81c482d3-c2c2-4b35-bbcf-933b28d5b448\" width=\"250px\" height=\"150px\" />\n</a>\n\n### Platinum\n\n<a href=\"https://linear.app\"><img alt=\"Linear\" src=\"https://github.com/user-attachments/assets/f9ce44b4-af28-4770-bb6e-9515b474bfb2\" width=\"250px\" height=\"150px\"></a> <a href=\"https://figma.com\"><img alt=\"Figma\" src=\"https://github.com/user-attachments/assets/1077d0ab-4305-4a1f-81c8-d5be8c4c6717\" width=\"250px\" height=\"150px\"></a> <a href=\"https://sanity.io\"><img alt=\"Sanity\" src=\"https://github.com/user-attachments/assets/80134088-f456-483f-8edd-940593c120ce\" width=\"250px\" height=\"150px\"></a> <a href=\"https://clerk.com?utm_campaign=motion\"><img alt=\"Clerk\" src=\"https://github.com/user-attachments/assets/16789f85-eaf4-46fb-9961-b3e66d33afbc\" width=\"250px\" height=\"150px\"></a>\n\n### Gold\n\n### Silver\n\n<a href=\"https://liveblocks.io\"><img alt=\"Liveblocks\" src=\"https://github.com/user-attachments/assets/28eddbe5-1617-4e74-969d-2eb6fcd481af\" width=\"150px\" height=\"100px\"></a> <a href=\"https://www.frontend.fyi/?utm_source=motion\"><img alt=\"Frontend.fyi\" src=\"https://github.com/user-attachments/assets/f16e3eb9-f0bd-4ad1-8049-f079a3d65c69\" width=\"150px\" height=\"100px\"></a> <a href=\"https://firecrawl.dev\"><img alt=\"Firecrawl\" src=\"https://github.com/user-attachments/assets/2c44e7f4-5c2a-4714-9050-1570538665ff\" width=\"150px\" height=\"100px\"></a> <a href=\"https://bolt.new\"><img alt=\"Bolt.new\" src=\"https://github.com/user-attachments/assets/7932d4b2-bb6c-422e-82b9-6ad78a7e3090\" width=\"150px\" height=\"100px\"></a>\n\n### Personal\n\n-   [OlegWock](https://sinja.io)\n-   [Lambert Weller](https://github.com/l-mbert)\n-   [Jake LeBoeuf](https://jklb.wf)\n","publish_time":1751282465011,"_cnpm_publish_time":1751282465011,"dist-tags":{"alpha":"5.0.0-alpha.22","beta":"5.5.6-beta.0","canary":"13.1.1-alpha.0","latest":"14.9.1","rc":"5.3.0-rc.1"}}