framer-motion

Implements Disney's 12 animation principles using Framer Motion in React applications.

Updated Sep 1, 2026
One-click install
npx skills add https://github.com/zamansepeti43/c-rak-agent --skill framer-motion-zamansepeti43
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framer-motion
Source: https://github.com/zamansepeti43/c-rak-agent/tree/main/video-engine/.agents/skills/framer-motion
Command: npx skills add https://github.com/zamansepeti43/c-rak-agent --skill framer-motion-zamansepeti43

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires framer-motion.

What problem does it solve? Developers often struggle to translate classic animation theory into working React code, resulting in stiff or unnatural UI motion. This Skill maps each of Disney's 12 animation principles directly to Framer Motion's declarative API with ready-to-use JSX patterns. ## Core Features & Use Cases - Principle-by-Principle Patterns: Provides concrete JSX implementations for squash and stretch, anticipation, staging, arcs, timing, exaggeration, and all other core principles. - Framer Motion API Coverage: Demonstrates variants, whileHover/whileTap gestures, spring physics, cubic-bezier easing, AnimatePresence, and staggered children animations. - Use Case: When building a landing page hero section, apply the anticipation and follow-through patterns to make elements enter with natural, physics-based motion instead of linear transitions. ## Quick Start Ask the AI to implement a button hover animation with squash and stretch using Framer Motion in your React component.

Frequently Asked Questions about framer-motion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate a React component with Framer Motion?

Wrap your element with a motion component and pass an animate prop defining the target state, such as animate={{ x: 300 }}. Control timing with the transition prop using duration, easing arrays, or spring physics with stiffness and damping.

How to create staggered children animations in Framer Motion?

Define a parent variant with transition: { staggerChildren: 0.1 } and child variants for each item. Set the parent to initial="hidden" and animate="show" so children animate in sequence automatically.

Does Framer Motion support spring physics animations?

Yes, set transition type to "spring" and configure stiffness and damping values. Low damping creates overshoot effects useful for exaggeration, while higher damping produces controlled, natural motion.

How do I animate elements when they unmount in React?

Wrap conditional elements in AnimatePresence and define an exit prop on the motion component. Framer Motion delays unmounting until the exit animation completes.

Why does my Framer Motion animation look stiff or unnatural?

Linear or default easing often causes robotic motion. Use easeInOut cubic-bezier curves like [0.42, 0, 0.58, 1], add anticipation keyframes, or switch to spring transitions for physics-based movement.