motion
herbert051281/mission-control/skills/lb-motion-skill/SKILL.md
Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)
Skill0 starsChanged 6 months ago
- Installs packages
What's in it
- Motion.dev Documentation
- Quick Reference
- Installation
- Basic Animation
- React
- Scroll Animations
- Documentation Structure
- When to Use This Skill
- External Resources
---
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.dev Documentation
Motion is a modern animation library for React, JavaScript, and Vue. It's the evolution of Framer Motion, offering:
- **Tiny size**: Just 2.3kb for the mini HTML/SVG version
- **High performance**: Hardware-accelerated animations
- **Flexible**: Animate HTML, SVG, WebGL, and JavaScript objects
- **Easy to use**: Intuitive API with smart defaults
- **Spring physics**: Natural, kinetic animations
- **Scroll animations**: Link values to scroll position
- **Gestures**: Drag, hover, tap, and more
## Quick Reference
### Installation
```bash
npm install motion
```
### Basic Animation
```javascript
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) })
```
### React
```jsx
import { motion } from "motion/react"
<motion.div
animate={{ rotate: 360 }}
transition={{ duration: 2 }}
/>
```
### Scroll Animations
```javascript
import { scroll } from "motion"
scroll(animate(".box", { scale: [1, 2, 1] }))
```
## Documentation Structure
- `quick-start.md` - Installation and first animation
- More docs to be added...
## When to Use This Skill
Use this skill when:
- Implementing animations in web applications
- Optimizing animation performance
- Creating scroll-based effects
- Building interactive UI with gestures
- Migrating from Framer Motion to Motion
## External Resources
- Official site: https://motion.dev
- GitHub: https://github.com/motiondivision/motion
- Examples: https://motion.dev/examples
More agent context in herbert051281/mission-control
45 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- Pitch Deck Reviewerskills/afrexai-pitch-deck-reviewer/SKILL.md
- afrexai-prd-engineskills/afrexai-prd-engine/SKILL.md
- afrexai-presentation-masteryskills/afrexai-presentation-mastery/SKILL.md
- afrexai-sprint-plannerskills/afrexai-sprint-planner/SKILL.md
- Technical Documentation Engineskills/afrexai-technical-docs/SKILL.md
- api-designerskills/api-designer/SKILL.md
- api-designskills/api-design/SKILL.md
- api-securityskills/api-security/SKILL.md
- asanaskills/asana/SKILL.md
- byteroverskills/byterover/SKILL.md
- cicd-pipelineskills/cicd-pipeline/SKILL.md
- code-reviewskills/code-review/SKILL.md
- database-operationsskills/database-operations/SKILL.md
- design-system-patternsskills/design-system-patterns/SKILL.md
- docker-essentialsskills/docker-essentials/SKILL.md
- file-searchskills/file-search/SKILL.md
- frontend-designskills/frontend-design-3/SKILL.md
- generate-presentationskills/generate-presentation/SKILL.md
- github-cliskills/github-cli/SKILL.md
- google-calendarskills/google-calendar/SKILL.md
- humanizerskills/humanizer/SKILL.md
- jira-openclawskills/jira-openclaw/SKILL.md
- logging-observabilityskills/logging-observability/SKILL.md
- githubskills/openclaw-github-assistant/SKILL.md
- pitch-deck-visualsskills/pitch-deck-visuals/SKILL.md
- playwright-skillskills/playwright-skill/SKILL.md
- Powerpoint / PPTXskills/powerpoint-pptx/SKILL.md
- pythonskills/python/SKILL.md
- release-disciplineskills/release-discipline/SKILL.md
- remotion-best-practicesskills/remotion/SKILL.md
- secrets-managementskills/secrets-management/SKILL.md
- self-improvementskills/self-improving-agent/SKILL.md
- slackskills/slack/SKILL.md
- slides-cogskills/slides-cog/SKILL.md
- snowflakeskills/snowflake/SKILL.md
- superpowersskills/superpowers/SKILL.md
- system-design-solverskills/system-design-solver/SKILL.md
- test-masterskills/test-master/SKILL.md
- test-runnerskills/test-runner/SKILL.md
- TypeScriptskills/typescript/SKILL.md
- UXskills/ux/SKILL.md
- wcag-21-aa-web-ui-auditskills/wcag-21-aa-web-ui-audit/SKILL.md
- youtube-transcript-extractorskills/youtube-transcript-extractor/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

