This translates Disney's classic animation principles into practical mobile gesture design. You get a quick reference mapping each principle to iOS and Android implementations, from rubber-band scrolling (squash and stretch) to momentum physics (follow through). The timing guidelines are spot on: touch response under 100ms, transitions at 250-350ms. It includes actual Swift and Kotlin snippets for spring animations and pairs them with haptic feedback patterns. What makes this useful is it bridges the gap between animation theory and the specific constraints of mobile platforms, like respecting safe areas during motion and hitting 60fps minimum. If you're building native apps and want gestures that feel polished rather than robotic, the principles here actually map to code.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
2.4K
GitHub stars
146
last updated
Aug 21, 2026

Install

$ npx -y skills add dylantarre/animation-principles --skill mobile-touch --agent claude-code

Installs into .claude/skills of the current project.

Files

Mobile Touch Animation

Apply Disney's 12 animation principles to mobile gestures, haptics, and native app motion.

Quick Reference

PrincipleMobile Implementation
Squash & StretchRubber-banding, bounce on scroll limits
AnticipationPeek before reveal, long-press preview
StagingSheet presentations, focus states
Straight Ahead / Pose to PoseGesture-driven vs preset transitions
Follow Through / OverlappingMomentum scrolling, trailing elements
Slow In / Slow OutiOS spring animations, Material easing
ArcSwipe-to-dismiss curves, card throws
Secondary ActionHaptic pulse with visual feedback
TimingTouch response <100ms, transitions 250-350ms
ExaggerationBounce amplitude, haptic intensity
Solid DrawingRespect safe areas, consistent anchors
Appeal60fps minimum, gesture continuity

Principle Applications

Squash & Stretch: Implement rubber-band effect at scroll boundaries. Pull-to-refresh should stretch content naturally. Buttons compress on touch.

Sponsors

Details

Repository
github.com/dylantarre/animation-principles
Categories
Mobile Development, Design & UI/UX

More from dylantarre/animation-principles

All 144
1avdlee avatarupdate-swiftui-apisavdlee/swiftui-agent-skillScan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements. Use when asked to "update latest APIs", "re2.4Kskills.sh installs
2kotlin avatarkotlin-tooling-agp9-migrationkotlin/kotlin-agent-skillsMigrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitt2.3Kskills.sh installs
3getsentry avatarsentry-flutter-sdkgetsentry/sentry-for-aiFull Sentry SDK setup for Flutter and Dart. Use when asked to "add Sentry to Flutter", "install sentry_flutter", "setup Sentry in Dart", or configure error moni2.3Kskills.sh installs
4capawesome-team avatarcapacitor-pluginscapawesome-team/skillsGuides the agent through installing, configuring, and using Capacitor plugins from six sources — official Capacitor plugins, Capawesome plugins, Capacitor Commu2.3Kskills.sh installs
5minimax-ai avatarios-application-devminimax-ai/skillsiOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, access2.2Kskills.sh installs
6truongduy2611 avatarapp-store-preflight-skillstruongduy2611/app-store-preflight-skillsScan an iOS/macOS Xcode project for common App Store rejection patterns before submission. Use when preparing an app for App Store review, after receiving a rej2.1Kskills.sh installs