본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)16k · #10874

apple-design

하는 일

이 스킬은 Apple 디자인 강연의 원칙을 웹 인터페이스에 적용합니다. 드래그, 스와이프, 시트 상호작용이 물리적이고 반응이 좋게 느껴지도록 하려는 개발자와 디자이너를 위한 스킬입니다.

사용하는 경우

  • ✓드래그, 스와이프, 시트처럼 제스처 기반 인터페이스를 만들거나 검토할 때.
  • ✓중간에 멈추고 방향을 바꿀 수 있는 스프링 애니메이션을 원할 때.
  • ✓움직임 줄이기를 지원하거나 타이포그래피와 소재를 다듬어야 할 때.

스킬 링크

https://github.com/spree/spree/blob/main/.agents/skills/apple-design/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/spree/spree/blob/main/.agents/skills/apple-design/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 하단 시트가 제 손가락을 따라 움직이고, 손을 떼면 관성이 자연스럽게 이어지도록 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 여러 원칙을 적용합니다. 움직임은 현재 화면의 값에서 시작하고, 사용자의 속도를 유지하며, 언제든 잡아서 되돌릴 수 있습니다. 이를 위해 스프링과 웹 입력 이벤트를 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Apple Design

How Apple builds interfaces that stop feeling like a computer and start feeling like an extension of you. This knowledge comes from Apple's WWDC design talks — chiefly Designing Fluid Interfaces (WWDC 2018) — distilled and translated into the web platform (CSS, Pointer Events, requestAnimationFrame, spring libraries like Motion/Framer Motion).

The through-line: an interface feels alive when motion starts from the current on-screen value, inherits the user's velocity, projects momentum forward, and can be grabbed and reversed at any instant. Springs are the tool that makes all of this natural, because they are inherently interruptible and velocity-aware.

The Core Idea

"When we align the interface to the way we think and move, something magical happens — it stops feeling like a computer and starts feeling like a seamless extension of us."

An interface is fluid when it behaves like the physical world: things respond instantly, move continuously, carry momentum, resist at boundaries, and can be redirected mid-motion. Everything below is a way to get closer to that.

Apple frames design as serving four human needs: safety/predictability, understanding, achievement, and joy. Every rule here serves one of them.

1. Response — kill latency

The moment lag appears, the feeling of directness "falls off a cliff." Response is the foundation everything else is built on.

  • Respond on pointer-down, not on release. Highlight a button the instant it's pressed. Waiting for click/touch-up to show feedback feels dead.
  • Be vigilant about every latency. Audit debounces, artificial timers, transition waits, and the ~300ms tap delay. Anything on the input path that isn't essential is a regression.
  • Feedback must be continuous during the interaction, not just at the end. For a drag, slider, or drawer, update the UI 1:1 with the pointer the whole way through — never animate only when the gesture completes.
/* Feedback lives on the press, and it's instant */
.button:active {
  transform: scale(0.97);
  transition: transform 100ms ease-out;
}

2. Direct manipulation — 1:1 tracking

"Touch and content should move together."

When the user drags something, it must stay glued to the finger — and respect the offset from where they grabbed it. Snapping to the element's center on grab breaks the illusion immediately.

  • Use Pointer Events with setPointerCapture so tracking continues even when the pointer leaves the element's bounds.
  • Track a short velocity/position history (last few pointermove events), not just the current point — you'll need velocity at release.
el.addEventListener('pointerdown', (e) => {
  el.setPointerCapture(e.pointerId);
  const grabOffset = e.clientY - el.getBoundingClientRect().top; // respect where they grabbed
  // ...track position + timestamp history for velocity
});

3. Interruptibility — the single most important principle

"The thought and the gesture happen in parallel."

Every animation must be interruptible and redirectable at any moment. A user must be able to grab a moving element mid-flight and reverse it without waiting for the animation to finish. A closing modal the user grabs again should follow the finger — not finish closing first, then reopen.

  • Never lock out input during a transition.
  • Always animate from the presentation (current) value, never the target value. On interrupt, read the element's live on-screen transform and start the new animation from there. Starting from the logical/target value causes a visible jump.
  • Avoid CSS transitions and @keyframes for anything gesture-driven — they can't be smoothly grabbed and reversed mid-flight. Springs animate from the current value by default, which is exactly what interruption needs.
  • When a gesture reverses, blend velocity — don't hard-cut it. Replacing one animation with another at a reversal creates a velocity discontinuity, a "brick wall." Spring libraries that carry velocity through a re-target avoid it. (This is what iOS's additive animations do natively; on the web, choose a spring library that re-targets from the current velocity.)
  • Decompose 2D motion into independent X and Y springs. A single spring on a 2D distance desyncs when X and Y have different velocities.

4. Behavior over animation — use springs

"Think of animation as a conversation between you and the object, not something prescribed by the interfac

자주 묻는 질문

Apple 기기에서만 쓸 수 있나요?

아닙니다. Apple의 디자인 원칙을 CSS, Pointer Events, 스프링 라이브러리 같은 웹 도구로 옮깁니다.

중단 가능하다는 것은 무슨 뜻인가요?

움직임이 끝날 때까지 기다리지 않고, 도중에 잡아서 되돌릴 수 있다는 뜻입니다.

움직임 줄이기도 다루나요?

네. 이 스킬은 움직임 줄이기 설정에 대한 안내를 포함합니다.

상세 정보

작성자의 원본 설명

Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces.

repo: spree/spree

인기도

GitHub 스타
16k
순위
#10874
라이선스
BSD-3-Clause
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬