apple-design

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

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/mrestrepoj10/re-hear --skill apple-design-mrestrepoj10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apple-design
Source: https://github.com/mrestrepoj10/re-hear/tree/main/.agents/skills/apple-design
Command: npx skills add https://github.com/mrestrepoj10/re-hear --skill apple-design-mrestrepoj10

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web interfaces often feel stiff because animations are pre-scripted, non-interruptible, and disconnected from user input. This Skill translates Apple's WWDC design guidance (Designing Fluid Interfaces, UI Typography, Audio-Haptic design) into concrete web techniques so gesture-driven UI feels physical, responsive, and alive. ## Core Features & Use Cases - Spring-based motion design: Concrete damping/response values for moves, rotations, and sheets, mapped to Motion/Framer Motion APIs, with velocity handoff and momentum projection formulas. - Gesture engineering: Pointer Events patterns for 1:1 drag tracking, interruptible animations, rubber-banding at boundaries, and momentum projection using Apple's exponential decay function. - Materials, typography, and accessibility: backdrop-filter translucency hierarchies, size-specific tracking/leading rules, and reduced-motion/reduced-transparency fallbacks. - Use Case: When building a bottom sheet that users can drag, flick, and re-grab mid-animation, use this Skill to implement velocity-aware springs that project the resting point and settle without visible seams. ## Quick Start Review my drag-to-dismiss sheet component and rewrite its animation to use interruptible springs with velocity handoff following Apple design 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 animations?

Use spring animations instead of fixed-duration CSS transitions, starting from critically damped values (damping 1.0, response 0.3-0.4s). Springs animate from the current on-screen value and accept new targets mid-flight, which makes them naturally interruptible.

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 with (v/1000)*d/(1-d) where d is about 0.998. Snap to the nearest target and hand the release velocity to the spring.

Should I use CSS transitions or springs for gesture-driven UI?

Use springs for anything gesture-driven. CSS transitions and keyframes cannot be grabbed and reversed mid-flight, while spring libraries like Motion or Framer Motion re-target from the current value and carry velocity through interruptions.

How do I handle prefers-reduced-motion without removing all feedback?

Replace slides, springs, and parallax with short opacity cross-fades while keeping color and opacity changes that aid comprehension. Also respond to prefers-reduced-transparency by solidifying blurred surfaces and prefers-contrast by adding defined borders.

What letter-spacing should large headings use?

Large display text needs negative tracking, around -0.02em, because letters read too far apart as they grow. Small body text should stay near zero or slightly positive, so a single fixed letter-spacing value across sizes is always wrong somewhere.