framer-motion

Implement dynamic animations and micro-interactions in React with Framer Motion.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/HouseGarofalo/claude-code-base --skill framer-motion-housegarofalo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framer-motion
Source: https://github.com/HouseGarofalo/claude-code-base/tree/main/.claude/skills/framer-motion
Command: npx skills add https://github.com/HouseGarofalo/claude-code-base --skill framer-motion-housegarofalo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to create engaging and smooth animations and micro-interactions within web applications, enhancing user experience and visual appeal.

Core Features & Use Cases

  • Declarative Animations: Define animations using simple props and components.
  • Enter/Exit & List Animations: Manage element transitions smoothly during mounting and unmounting.
  • Gesture Recognition: Implement interactive animations based on user gestures like drag and hover.
  • Scroll-Based Animations: Create dynamic effects tied to user scrolling.
  • Loading States: Build visually appealing skeleton loaders and spinners.
  • Use Case: Enhance a product listing page with subtle fade-in animations for each product card as the user scrolls down, and allow users to drag and reorder items in a list.

Quick Start

Use the framer-motion skill to create a fade-in animation for a component.

Frequently Asked Questions about framer-motion

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

FAQPage Schema
How do I create declarative animations in React?

To create declarative animations in React, define animations using simple props and components. This approach enables you to build dynamic micro-interactions and UI transitions without writing complex imperative logic.

How do I add enter and exit transitions to React components?

You can add enter and exit transitions to React components to manage element mounting and unmounting smoothly. This technique ensures that list animations and individual component appearances or disappearances remain fluid.

Can I build scroll-linked animations and gesture controls in a React app?

Yes, you can build scroll-linked animations and gesture controls in a React app. This includes creating dynamic effects tied to user scrolling and implementing interactive animations based on drag and hover gestures.

What is the best way to optimize React animations for performance?

The best way to optimize React animations for performance is by animating transforms and opacity. This method ensures smooth dynamic transitions and micro-interactions while minimizing browser rendering bottlenecks.

Do I need Framer Motion to build React loading states and skeleton loaders?

Using Framer Motion to build React loading states and skeleton loaders provides visually appealing spinners and placeholders. It simplifies creating smooth transitions for these elements during data fetching operations.