Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wannacry081-motion
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/motion
What's inside
- Skill name
motion- Description
- Motion (Framer Motion) React animation library. Use for drag-and-drop, scroll animations, gestures, SVG morphing, or encountering bundle size, complex transitions, spring physics errors.
- License
- MIT
- Instructions
- 508 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 508 lines (spec recommends under 500)
Files (14)
- SKILL.md
- accessibility-guide.md · references/
- common-patterns.md · references/
- core-concepts-deep-dive.md · references/
- motion-vs-auto-animate.md · references/
- nextjs-integration.md · references/
- performance-optimization.md · references/
- init-motion.sh · scripts/
- optimize-bundle.sh · scripts/
- layout-transitions.tsx · templates/
- motion-nextjs-client.tsx · templates/
- motion-vite-basic.tsx · templates/
- scroll-parallax.tsx · templates/
- ui-components.tsx · templates/
SKILL.md (first lines)
# Motion Animation Library
## Overview
Motion (package: `motion`, formerly `framer-motion`) is the industry-standard React animation library used in production by thousands of applications. With 30,200+ GitHub stars and 300+ official examples, it provides a declarative API for creating sophisticated animations with minimal code.
**Key Capabilities:**
- **Gestures**: drag, hover, tap, pan, focus with cross-device support
- **Scroll Animations**: viewport-triggered, scroll-linked, parallax effects
- **Layout Animations**: FLIP technique for smooth layout changes, shared element transitions
- **Spring Physics**: Natural, customizable motion with physics-based easing
- **SVG**: Path morphing, line drawing, attribute animation
- **Exit Animations**: AnimatePresence for unmounting transitions
- **Performance**: Hardware-accelerated, ScrollTimeline API, bundle optimization (2.3 KB - 34 KB)
**Production Tested**: React 19, Next.js 15, Vite 6, Tailwind v4
---
## When to Use This Skill
### ✅ Use Motion When:
**Complex Interactions**:
- Drag-and-drop interfaces (sortable lists, kanban boards, sliders)
- Hover states with scale/rotation/color changes
- Tap feedback with bounce/squeeze effects
- Pan gestures for mobile-friendly controls
**Scroll-Based Animations**:
- Hero sections with parallax layers
- Scroll-triggered reveals (fade in as elements enter viewport)
- Progress bars linked to scroll position
- Sticky headers with scroll-dependent transforms
**Layout Transitions**:
- Shared element transitions between routes (card → detail page)
- Expand/collapse with automatic height animation
- Grid/list view switching with smooth repositioning
- Tab navigation with animated underline
**Advanced Features**:
- SVG line drawing animations
- Path morphing between shapes
- Spring physics for natural bounce
- Orchestrated sequences (staggered reveals)
- Modal dialogs with backdrop blur
**Bundle Optimization**:
- Need 2.3 KB animation library (useAnimate mini)
- Want to reduce Motion from 34 KB to 4.6 KB (LazyMotion)
### ❌ Don't Use Motion When:
- **Simple list animations** (use `auto-animate` instead: 3.28 KB vs 34 KB)
- **Static content** without interactions
- **Cloudflare Workers** (use `framer-motion` v12.23.24 workaround - see Known Issues)
- **3D animations** (use Three.js or React Three Fiber instead)
---
## Installation
### Latest Stable Version
```bash
bun add motion # preferred
# or: npm install motion
# or: yarn add motion
```
**Current Version**: 12.23.24 (verified 2025-11-07)
**Alternative for Cloudflare Workers**:
```bash
# Use framer-motion if deploying to Cloudflare Workers
bun add framer-motion
# or: npm install framer-motion
```
### Package Information
- **Bundle Size**:
- Full `motion` component: ~34 KB minified+gzipped
- `LazyMotion` + `m` component: ~4.6 KB
- `useAnimate` mini: 2.3 KB (smallest React animation library)
- `useAnimate` hybrid: 17 KB
- **Dependencies**: React 18+ or React 19+
- **TypeScript**: Native support included (no @types package needed)
---
## Core Concepts
### 1. The `motion` Component
Transform any HTML/SVG element into an animatable component:
```tsx
import { motion } from "motion/react"
// Basic animation
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
Content fades in and slides up
</motion.div>
// Gesture controls
<motion.button
whileHover={{ scale: 1.1 }}
whileTap={{ scale: 0.95 }}
>
Click me
</motion.button>
```From WannaCry081/Bunban, MIT.
More from WannaCry081/Bunban
- 0.497score
convex-create-component
WannaCry081
Designs and builds Convex components with isolated tables, clear boundaries, and app-facing wrappers.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
tailwind-best-practices
WannaCry081
Tailwind CSS styling guidelines for Mastra Playground UI.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
clerk
WannaCry081
Clerk authentication router.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
tailwind-v4-shadcn
WannaCry081
| Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
SkillCFreshness: C★ 1Claude Code +9 - 0.492score
react-native
WannaCry081
React Native renderer for json-render that turns JSON specs into native mobile UIs.
SkillCFreshness: C★ 1Claude Code +9 - 0.492score
convex-http
WannaCry081
HTTP actions for webhooks and API endpoints in Convex.
SkillCFreshness: C★ 1Claude Code +9 - 0.492score
framer-motion
WannaCry081
Comprehensive Framer Motion animation library for React.
SkillCFreshness: C★ 1Claude Code +9 - 0.489score
Next.js Security Scan
WannaCry081
Comprehensive security vulnerability scanner for Next.js and TypeScript/JavaScript projects.
SkillCFreshness: C★ 1Claude Code +9 - 0.486score
next-upgrade
WannaCry081
Upgrade Next.js to the latest version following official migration guides and codemods
SkillCFreshness: C★ 1Claude Code +9 - 0.481score
frontend-ui-ux
WannaCry081
Deprecated compatibility shim for designer-led frontend UI/UX work
SkillCFreshness: C★ 1Claude Code +9 - 0.467score
doc-coauthoring
WannaCry081
Guide users through a structured workflow for co-authoring documentation.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 15, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/WannaCry081/Bunban
- Website
- bunban.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from WannaCry081
- 0.497score
convex-create-component
WannaCry081
Designs and builds Convex components with isolated tables, clear boundaries, and app-facing wrappers.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
tailwind-best-practices
WannaCry081
Tailwind CSS styling guidelines for Mastra Playground UI.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
clerk
WannaCry081
Clerk authentication router.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
tailwind-v4-shadcn
WannaCry081
| Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
SkillCFreshness: C★ 1Claude Code +9 - 0.492score
react-native
WannaCry081
React Native renderer for json-render that turns JSON specs into native mobile UIs.
SkillCFreshness: C★ 1Claude Code +9 - 0.492score
convex-http
WannaCry081
HTTP actions for webhooks and API endpoints in Convex.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
motion skill. Agent Mart. https://agentmart.dev/skills/wannacry081-motion (last updated 2026-10-24)