framer-motion-best-practices

pproenca/dot-skills · updated Apr 8, 2026

$npx skills add https://github.com/pproenca/dot-skills --skill framer-motion-best-practices
0 commentsdiscussion
summary

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.

skill.md

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

Priority Category Impact Prefix
1 Bundle Optimization CRITICAL bundle-
2 Re-render Prevention CRITICAL rerender-
3 Animation Properties HIGH anim-
4 Layout Animations HIGH layout-
5 Scroll Animations MEDIUM-HIGH scroll-
6 Gesture Optimization MEDIUM gesture-
7 Spring & Physics MEDIUM spring-
8 SVG & Path Animations LOW-MEDIUM svg-
9 Exit Animations LOW exit-

Quick Reference

1. Bundle Optimization (CRITICAL)

2. Re-render Prevention (CRITICAL)

3. Animation Properties (HIGH)

4. Layout Animations (HIGH)

5. Scroll Animations (MEDIUM-HIGH)

6. Gesture Optimization (MEDIUM)

7. Spring & Physics (MEDIUM)

8. SVG & Path Animations (LOW-MEDIUM)

9. Exit Animations (LOW)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.664 reviews
  • Dev Jackson· Dec 20, 2024

    framer-motion-best-practices reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Hassan Liu· Dec 8, 2024

    Registry listing for framer-motion-best-practices matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Mateo Srinivasan· Dec 8, 2024

    Registry listing for framer-motion-best-practices matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Anika Sanchez· Nov 27, 2024

    Useful defaults in framer-motion-best-practices — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Hassan Garcia· Nov 27, 2024

    framer-motion-best-practices is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Mateo Liu· Nov 27, 2024

    Useful defaults in framer-motion-best-practices — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Dev Verma· Nov 23, 2024

    Keeps context tight: framer-motion-best-practices is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Kwame Johnson· Nov 11, 2024

    I recommend framer-motion-best-practices for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Mateo Verma· Oct 18, 2024

    I recommend framer-motion-best-practices for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Ava Malhotra· Oct 18, 2024

    Keeps context tight: framer-motion-best-practices is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 64

1 / 7