Advanced Motion & Gestures

•
31
•

Implements complex, physics-based animations, drag-and-drop interactions, and gesture-driven UI components in React and Next.js.

Advanced Motion & Gestures provides specialized design patterns and implementation rules for creating high-performance, physics-driven animations in React and Next.js applications using Motion (formerly Framer Motion). It equips Claude with best practices for handling complex gestures, drag-to-dismiss sheets, reorderable lists, SVG path drawing, word-by-word text reveals, custom animation hooks, and interrupt-safe imperative sequences with useAnimate. By leveraging useMotionValue, useSpring, and useTransform, this skill ensures smooth 60fps animations without unnecessary React re-renders or hydration issues.

Características Principales

01Optimized text animations, dynamic number counters, and SVG path drawing/morphing
02Custom motion hooks including useScrollReveal, cursor followers, and long-press handlers
03Performance guardrails for SSR safety, touch device thresholds, and tab visibility pausing
045 GitHub stars
05Imperative, interrupt-safe animation sequences using useAnimate and async/await
06Physics-based drag interactions, swipe gestures, and Reorder.Group sortable lists

Casos de Uso

01Building interactive mobile-first bottom sheets, swipe-to-action cards, and reorderable lists
02Implementing micro-interactions like magnetic buttons, smooth cursor followers, and shimmer loading skeletons
03Creating engaging marketing site hero elements with staggered text reveals and scroll-driven SVG animations