framer-motion

Implement animations in React applications using motion components, variants, and gestures.

1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/Hamza123545/Todo_giaic_five_phases --skill framer-motion-hamza123545
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framer-motion
Source: https://github.com/Hamza123545/Todo_giaic_five_phases/tree/main/.claude/skills/framer-motion
Command: npx skills add https://github.com/Hamza123545/Todo_giaic_five_phases --skill framer-motion-hamza123545

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Framer Motion makes it easy to add polished, production-grade animations to React/Next.js applications, reducing boilerplate and improving UI consistency.

Core Features & Use Cases

  • Motion Components: Build reusable animated primitives with a simple API using initial, animate, and exit.
  • Variants & Orchestration: Coordinate complex animations with a central variants object and parent-child orchestration.
  • Gestures & Interactions: Add hover, tap, drag, and focus interactions for engaging UI.
  • Page Transitions & Scroll Animations: Create fluid route transitions and scroll-triggered effects for immersive experiences.
  • Use Case: Elevate dashboards and product interfaces by animating modals, lists, charts, and navigation with consistent motion.

Quick Start

Install the library in your project, then wrap elements with motion and apply basic props to animate from a hidden to visible state.

Frequently Asked Questions about framer-motion

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

FAQPage Schema
How do I add production-ready animations to React applications?

To add animations to React applications, use a declarative API wrapping elements with motion components and applying initial, animate, and exit props for smooth transitions.

How do I coordinate complex UI animations across multiple React components?

Coordinate complex React UI animations using a central variants object with parent-child orchestration, synchronizing animations across nested components.

Can I add drag and tap gestures to React components?

Yes, you can add hover, tap, drag, and focus interactions to React components to create engaging user interfaces.

How do I create page transitions in Next.js?

Create fluid Next.js page transitions by defining exit and initial states on motion components, animating route changes for immersive navigation.

Do I need prior React knowledge to implement scroll animations?

Yes, basic React knowledge and standard npm or yarn package installation are required to effectively implement scroll animations and other motion features.

What is the best way to animate modals and lists in a React dashboard?

Animate dashboards by applying motion components to modals, lists, and charts, using variants for consistent UI transitions and micro-interactions.