Skip to content
pproenca avatar

Framer Motion Best Practices

Performance rules for Framer Motion animations across bundle size, re-renders, and layout work.

CCM score
50 of 100
skills.sh installs
187
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 42 rules in 9 categories, ordered by impact from bundle optimization down to exit animations
  • Includes per-rule reference files for LazyMotion and m components, useMotionValue, useTransform, layoutId, useScroll, and AnimatePresence
  • Guides refactoring of motion components so they avoid unnecessary re-renders and keep animations on transform and opacity
  • Designed for React projects that add or review Framer Motion gestures, layout transitions, scroll-linked effects, and SVG animations

Install

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

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

Files

Performance rules for Framer Motion animations across bundle size, re-renders, and layout work. Covers 42 rules in 9 categories, ordered by impact from bundle optimization down to exit animations. Includes per-rule reference files for LazyMotion and m components, useMotionValue, useTransform, layoutId, useScroll, and AnimatePresence. Guides refactoring of motion components so they avoid unnecessary re-renders and keep animations on transform and opacity. Designed for React projects that add or review Framer Motion gestures, layout transitions, scroll-linked effects, and SVG animations.

Browse the repository on GitHub

Details

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

Questions

What does the framer-motion-best-practices skill do?

It gives performance optimization guidelines for writing, reviewing, and refactoring React animations built with Framer Motion. It covers motion components, gestures, layout transitions, scroll-linked effects, and SVG animations.

How do I install the framer-motion-best-practices skill?

Run npx -y skills add pproenca/dot-skills --skill framer-motion-best-practices -y in your project. After that, the agent can apply Framer Motion performance patterns when you work on animation code.

Which other skills sit alongside framer-motion-best-practices in Animation & Motion?

It sits in the Animation & Motion category with remotion-render, hyperframes-registry, hyperframes-animation, hyperframes-core and hyperframes-creative. Those skills cover other animation tools, while this one focuses on Framer Motion performance in React.

Who should use the framer-motion-best-practices skill?

It suits React developers who build animations with Framer Motion and want performance-focused patterns when writing or reviewing motion code. The guidance triggers on tasks involving gestures, layout transitions and scroll-linked effects.

More from pproenca/dot-skills

All 100

Similar to Framer Motion Best Practices

More Animation & Motion