一键导入
motion
Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Programmatic video creation with React. USE WHEN video, animation, motion graphics, video rendering, React video, intro video, YouTube video, TikTok video, video production, render video.
Programmatic video creation with React. USE WHEN video, animation, motion graphics, video rendering, React video, intro video, YouTube video, TikTok video, video production, render video.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
| name | motion |
| version | 1.0.0 |
| description | Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion) |
| author | Leonardo Balland |
| tags | ["motion","animation","react","javascript","vue","framer-motion","transitions","gestures","scroll","spring","keyframes"] |
| read_when | ["Working with Motion animations or Framer Motion","Implementing animations in React, Vue, or vanilla JavaScript","Creating scroll-linked or scroll-triggered animations","Building gesture-based interactions","Optimizing animation performance","Migrating from Framer Motion to Motion"] |
Motion is a modern animation library for React, JavaScript, and Vue. It's the evolution of Framer Motion, offering:
npm install motion
import { animate } from "motion"
// Animate elements
animate(".box", { rotate: 360, scale: 1.2 })
// Spring animation
animate(element, { x: 100 }, { type: "spring", stiffness: 300 })
// Stagger multiple elements
animate("li", { opacity: 1 }, { delay: stagger(0.1) })
import { motion } from "motion/react"
<motion.div
animate={{ rotate: 360 }}
transition={{ duration: 2 }}
/>
import { scroll } from "motion"
scroll(animate(".box", { scale: [1, 2, 1] }))
quick-start.md - Installation and first animationUse this skill when: