motion-framer

Create React animations with Motion components, gestures, variants, and layout transitions.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/sixscripts-ai/agent-arena-voice --skill motion-framer-sixscripts-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion-framer
Source: https://github.com/sixscripts-ai/agent-arena-voice/tree/main/.claude/plugins/claudedesignskills/plugins/bundles/core-3d-animation/skills/motion-framer
Command: npx skills add https://github.com/sixscripts-ai/agent-arena-voice --skill motion-framer-sixscripts-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building smooth, interactive animations in React requires coordinating gestures, exit animations, layout changes, and spring physics, which is error-prone when written from scratch without established patterns. ## Core Features & Use Cases - Motion Component Patterns: Covers animate, initial, transition, variants, and gesture props (whileHover, whileTap, whileDrag, whileInView) for interactive UI elements. - Exit & Layout Animations: Implements AnimatePresence exit animations, layout prop transitions, and shared element transitions via layoutId. - Code Generation Scripts: Includes animation_generator.py and variant_builder.py to scaffold Motion components and variant configurations in JavaScript or TypeScript. - Use Case: When building a modal dialog, use this Skill to generate an AnimatePresence wrapper with spring-based enter/exit animations and a staggered variant system for its child elements. ## Quick Start Ask the AI to create a draggable card component with hover scaling and spring physics using Framer Motion.

Frequently Asked Questions about motion-framer

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

FAQPage Schema
How do I animate a component when it is removed from the React DOM?

Wrap the conditional component in AnimatePresence and add an exit prop to the motion component. The element must be a direct child of AnimatePresence and have a unique key prop for the exit animation to trigger.

How to create staggered animations for list items in Framer Motion?

Define container variants with staggerChildren and delayChildren in the transition, then apply item variants to each child. Children automatically inherit the parent's animate state, so each item animates in sequence.

What is the difference between Motion and Framer Motion?

Motion (v11+) is the newer, smaller library from the Framer Motion creators, while Framer Motion is the full-featured predecessor still widely used. Both share the same API with motion components, variants, and gesture props.

Does Framer Motion work with TypeScript and Next.js?

Yes, Framer Motion supports TypeScript with exported types like Variants, Transition, and MotionProps. It works with Next.js, Vite, Remix, and all modern React frameworks, and also supports Vue.

Why are my Framer Motion animations janky or slow?

Jank usually comes from animating layout properties like width, height, top, or left instead of hardware-accelerated transforms. Animate x, y, scale, and rotate instead, and limit layout prop usage since layout animations are computationally expensive.

Why is my exit animation not working in Framer Motion?

Exit animations fail when the component is not wrapped in AnimatePresence or lacks a unique key prop. Ensure the motion component is a direct child of AnimatePresence and defines an exit prop with the target animation state.