apple-design

Applies Apple's fluid interface principles to web animations, gestures, and typography.

Updated Sep 7, 2026
One-click install
npx skills add https://github.com/grandff/free-iracing-overlay --skill apple-design-grandff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-design
Source: https://github.com/grandff/free-iracing-overlay/tree/main/.skill/apple-design
Command: npx skills add https://github.com/grandff/free-iracing-overlay --skill apple-design-grandff

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web interfaces often feel stiff and disconnected because animations are pre-scripted, gestures lack momentum, and motion cannot be interrupted mid-flight. This Skill translates Apple's WWDC design guidance into concrete web techniques so interfaces respond instantly, track gestures 1:1, and move with physical realism. ## Core Features & Use Cases - Spring-Based Motion: Replace fixed-duration CSS transitions with interruptible springs using damping ratio and response parameters, including velocity handoff and momentum projection for flicks and throws. - Gesture Engineering: Implement pointer-capture dragging with grab offsets, rubber-banding at boundaries, parallel gesture recognition, and hysteresis thresholds for taps and swipes. - Materials, Depth & Typography: Build translucent layers with backdrop-filter, size-specific tracking and leading for type, and reduced-motion/reduced-transparency accessibility fallbacks. - Use Case: When building a bottom sheet or draggable card in React with Motion/Framer Motion, use this Skill to configure the correct spring parameters, project the flick landing point, and hand off release velocity so the gesture feels continuous. ## Quick Start Review my draggable bottom sheet component and rewrite its animations to use interruptible springs with velocity handoff following Apple fluid interface principles.

Frequently Asked Questions about apple-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make web animations feel like iOS spring physics?

Use a spring library like Motion or Framer Motion instead of CSS transitions, since springs animate from the current value and are interruptible. Start with damping ratio 1.0 and response 0.3-0.4 seconds for most UI, adding bounce only for momentum-driven gestures.

How to implement a draggable bottom sheet with momentum on the web?

Track the pointer with Pointer Events and setPointerCapture, record velocity history, then on release project the resting position using exponential decay and snap to the nearest target. Hand the release velocity to the spring so drag and animation connect without a visible seam.

Why do CSS transitions feel wrong for gesture-driven UI?

CSS transitions and keyframes cannot be grabbed and reversed mid-flight, so interrupting them causes visible jumps. Springs start from the live on-screen value and carry velocity through re-targeting, which keeps motion continuous when the user changes direction.

Can I use backdrop-filter for Apple-style translucent toolbars?

Yes, combine backdrop-filter blur with a semi-transparent background so content scrolls underneath the chrome. Avoid stacking light translucent surfaces on each other, and provide a solid fallback under prefers-reduced-transparency.

How should letter-spacing change with font size in UI typography?

Tracking must be size-specific: large display text needs negative letter-spacing around -0.02em, while small text benefits from slightly positive tracking. A single fixed letter-spacing value across all sizes will look wrong somewhere.

What should replace animations when prefers-reduced-motion is enabled?

Replace slides, springs, and parallax with short opacity cross-fades or static transitions, and remove elastic overshoot. Keep opacity and color changes that aid comprehension, since reduced motion means gentler feedback, not no feedback.