pproenca avatar

Framer Motion Best Practices

A comprehensive performance optimization guide for Framer Motion with 42 rules across 9 categories, from bundle size reduction to exit animations. You'll want this when writing or refactoring React animations to avoid common pitfalls like unnecessary re-renders and bloated bundles. The priority system is genuinely helpful, starting with critical issues like using LazyMotion instead of the full motion import and leveraging useMotionValue to prevent re-renders, then working down to nice-to-haves like SVG morphing techniques. Each rule links to its own reference file with examples. It's clearly built from real-world optimization work, and the categorization by performance impact makes it easy to focus on what actually matters when your animations are janky or your bundle is huge.

skills.sh installs
187
GitHub stars
222
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

Files

A comprehensive performance optimization guide for Framer Motion with 42 rules across 9 categories, from bundle size reduction to exit animations. You'll want this when writing or refactoring React animations to avoid common pitfalls like unnecessary re-renders and bloated bundles. The priority system is genuinely helpful, starting with critical issues like using LazyMotion instead of the full motion import and leveraging useMotionValue to prevent re-renders, then working down to nice-to-haves like SVG morphing techniques. Each rule links to its own reference file with examples. It's clearly built from real-world optimization work, and the categorization by performance impact makes it easy to focus on what actually matters when your animations are janky or your bundle is huge.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend Development, Documentation, Code Review & Quality, Debugging, Design & UI/UX
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100
10xsardius avatarviem0xsardius/onchain-typescript-skillsTypeScript patterns for low-level EVM blockchain interactions using Viem. Use when writing Node scripts, CLI tools, or backend services that read/write to Ether186skills.sh installs
2aiskillstore avatarplugin-structureaiskillstore/marketplaceThis skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plu184skills.sh installs
3blessonism avatarmineru-extractblessonism/openclaw-search-skillsUse the official MinerU (mineru.net) parsing API to convert a URL (HTML pages like WeChat articles, or direct PDF/Office/image links) into clean Markdown + stru184skills.sh installs
4aiskillstore avatarweb-artifacts-builderaiskillstore/marketplaceSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for180skills.sh installs
5hiyeshu avatarcodeck-designhiyeshu/codeckDesigner role. Reads deck.md, generates a single HTML presentation file with CSS design system + JS slide engine + per-slide content. Accepts visual references 177skills.sh installs
6harlan-zw avatarpinia-skilldharlan-zw/vue-ecosystem-skillspinia skilld170skills.sh installs