Skip to content
pproenca avatar

Framer Motion

Performance rules for Framer Motion React animations, covering bundle size, re-renders, and layout transitions.

CCM score
51 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
1.2K
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 42 rules across 9 categories, ordered by impact from bundle optimization down to exit animations
  • Includes per-rule reference files for LazyMotion, useMotionValue, useTransform, layoutId, useScroll, and AnimatePresence
  • Enforces patterns such as LazyMotion with the m component, stable variants defined outside components, and transform-only animation properties
  • Designed for automated refactoring and code generation of motion components, gestures, scroll-linked effects, and SVG animations in React

Install

$ npx -y skills add pproenca/dot-skills --skill framer-motion -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Community Framer Motion Best Practices

Comprehensive performance optimization guide for Framer Motion animations in React applications. Contains 42 rules across 9 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Adding animations to React components with Framer Motion
  • Optimizing bundle size for animation-heavy applications
  • Preventing unnecessary re-renders during animations
  • Implementing layout transitions or shared element animations
  • Building scroll-linked or gesture-based interactions

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Bundle OptimizationCRITICALbundle-
2Re-render PreventionCRITICALrerender-
3Animation PropertiesHIGHanim-
4Layout AnimationsHIGHlayout-
5Scroll AnimationsMEDIUM-HIGHscroll-
6Gesture OptimizationMEDIUMgesture-
7Spring & PhysicsMEDIUMspring-
8SVG & Path AnimationsLOW-MEDIUMsvg-
9Exit AnimationsLOWexit-

Quick Reference

Details

Repository
github.com/pproenca/dot-skills
Categories
Animation & Motion, Frontend & UI Code
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100

Similar to Framer Motion

More Animation & Motion