framer-motion-animator

Creates React animations and micro-interactions using Framer Motion's declarative API.

3|1|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/PALabs-v1/AI_friend --skill framer-motion-animator-palabs-v1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: framer-motion-animator
Source: https://github.com/PALabs-v1/AI_friend/tree/main/.agents/skills/framer-motion-animator
Command: npx skills add https://github.com/PALabs-v1/AI_friend --skill framer-motion-animator-palabs-v1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires framer-motion.

What problem does it solve? Adding polished animations to React applications requires knowing Framer Motion's API surface, from variants and gestures to scroll triggers and exit animations, which is easy to get wrong or implement inconsistently. ## Core Features & Use Cases - Component Animations: Build entrance, exit, hover, and tap animations using motion components, variants, and AnimatePresence for modals and lists. - Gesture & Scroll Interactions: Implement drag, swipe-to-dismiss, parallax, and scroll-progress effects with useScroll, useTransform, and useInView. - Reusable Patterns: Provides ready-made AnimatedContainer, AnimatedList, and transition preset utilities plus reduced-motion accessibility support. - Use Case: When building a Next.js dashboard, use this Skill to add staggered list animations, page transitions via template.tsx, and a swipe-to-delete gesture on cards. ## Quick Start Add a staggered fade-in animation to my product list component using Framer Motion variants.

Frequently Asked Questions about framer-motion-animator

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

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

Wrap the element in a motion component and set initial, animate, and transition props. For example, initial={{ opacity: 0, y: 20 }} with animate={{ opacity: 1, y: 0 }} creates a fade-in-up effect on mount.

How to animate list items with stagger in Framer Motion?

Define container variants with staggerChildren and delayChildren in the transition, then give each child item its own variants. The parent motion.ul orchestrates timing so children animate in sequence automatically.

Does Framer Motion support exit animations when components unmount?

Yes, wrap conditional components in AnimatePresence and define an exit prop on the motion element. This is commonly used for modals, toasts, and route transitions that would otherwise disappear instantly.

Can I use Framer Motion with Next.js App Router?

Yes, add a template.tsx file marked 'use client' that wraps children in a motion.div with initial and animate props. This produces a transition on every navigation since templates remount per route.

Why is my Framer Motion animation causing layout jank?

Animating width, height, top, or left triggers layout recalculation and hurts performance. Animate only GPU-accelerated properties like opacity and transform (x, y, scale, rotate), and use the layout prop for size changes.

How do I respect reduced motion preferences in Framer Motion?

Use the useReducedMotion hook to detect the user's accessibility setting, then conditionally disable movement or shorten durations. For example, skip the y-offset and set duration to zero when reduced motion is preferred.