This is the React animation library you've probably seen in production apps without realizing it. Motion handles everything from simple hover states to complex drag-and-drop interfaces, scroll-triggered parallax, and shared element transitions between pages. The API is declarative enough that basic fade-ins take three props, but it scales up to spring physics and SVG morphing when you need it. Bundle size ranges from 2.3 KB for the minimal useAnimate hook to 34 KB for the full motion component, with a 4.6 KB middle ground using LazyMotion. One catch: if you're deploying to Cloudflare Workers, you'll need to use the older framer-motion package instead due to build issues with Wrangler.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
13
skills.sh installs
1.1K
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill motion --agent claude-code

Installs into .claude/skills of the current project.

Files

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)

Recommended Stack: React 19, Next.js 16, Vite 7, Tailwind v4


When to Use This Skill

✅ Use Motion When:

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Frontend Development, Java & JVM, Design & UI/UX, Game Development
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1vercel-labs avatarsolidvercel-labs/json-renderSolidJS renderer for json-render. Use when building @json-render/solid catalogs/registries, wiring Renderer providers, implementing bindings/actions, or trouble1.1Kskills.sh installs
2patternsdev avatarcompound-patternpatternsdev/skillsTeaches the compound component pattern for shared implicit state. Use when building related components like tabs, accordions, or dropdowns that need to coordina1.1Kskills.sh installs
3kostja94 avatarsidebar-generatorkostja94/marketing-skillsWhen the user wants to design, optimize, or audit a sidebar for blogs, docs, or content pages. Also use when the user mentions "sidebar," "blog sidebar," "conte1.1Kskills.sh installs
4patternsdev avatarhoc-patternpatternsdev/skillsTeaches the Higher-Order Component (HOC) pattern for logic reuse. Use when you need to share cross-cutting concerns like authentication, logging, or data fetchi1.1Kskills.sh installs
5patternsdev avatarclient-side-renderingpatternsdev/skillsTeaches client-side rendering (CSR) for React applications. Use when building highly interactive apps where SEO is not a priority and the UI is driven by user a1.1Kskills.sh installs
6vtex avatarmarketplace-order-hookvtex/skillsApply when implementing order integration hooks, feeds, or webhook handlers for VTEX marketplace connectors. Covers Feed v3 (pull) vs Hook (push), filter types 1.1Kskills.sh installs