Skip to content

Motion feedback for direct interactions that applies Disney's 12 principles to presses, drags, and releases.

CCM score
55 of 100
skills.sh installs
663
GitHub stars
709
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers press, release, drag, swipe, and tap ripple responses, each with defined rest, pressed, and released poses
  • Includes a timing table for tap, long press, drag, swipe, and pinch, plus CSS and JavaScript patterns for button press and drag snap-back
  • Enforces a hard limit of under 100ms for gesture responses so the action still feels directly connected
  • Designed for interactive UI work where buttons, drag targets, and touch surfaces need physically satisfying feedback

Install

$ npx -y skills add dylantarre/animation-principles --skill gesture-responses -y

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

Files

Gesture Response Animations

Apply Disney's 12 principles to direct user interactions.

Principle Application

Squash & Stretch: Elements compress on press (scale 0.95-0.97), spring back on release.

Anticipation: The press IS the anticipation. Response should be immediate - no delay.

Staging: Response originates from interaction point. Ripples expand from tap location.

Straight Ahead vs Pose-to-Pose: Define rest, pressed, and released poses. Transitions flow between them.

Follow Through & Overlapping: Release animation overshoots rest position. Scale to 1.02, settle to 1.0.

Slow In/Slow Out: Press: instant. Release: ease-out with overshoot cubic-bezier(0.34, 1.56, 0.64, 1).

Arcs: Drag elements follow finger with slight lag on curves. Snapping follows arc to destination.

Secondary Action: Press triggers ripple + scale + shadow change simultaneously.

Timing:

  • Press response: 0-50ms (must feel instant)
  • Release recovery: 150-300ms (can be playful)
  • Ripple expansion: 400-600ms (decorative, can be slower)

Exaggeration: Subtle for press (0.97), playful for release (overshoot 1.03).

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the gesture-responses skill do?

The gesture-responses skill guides Claude to animate direct user interactions such as button presses, drag feedback, swipe responses and tap ripples. It applies Disney's 12 principles of animation to touch and click feedback. It gives timing guidance, for example a press response under 100ms, and CSS and JavaScript patterns for these gestures.

How do I install the gesture-responses skill?

Run this command in a project: npx -y skills add dylantarre/animation-principles --skill gesture-responses -y. Once installed, gesture-responses lets the agent build press, drag and release animations that feel physically satisfying.

Where does gesture-responses stand in the Animation & Motion category?

Gesture-responses is listed in the Animation & Motion category with remotion-render, hyperframes-registry, hyperframes-animation, hyperframes-core and hyperframes-creative. Its focus is narrow: direct manipulation feedback rather than general motion or video rendering.

More from dylantarre/animation-principles

All 144

Similar to Gesture Responses

More Animation & Motion