
Animation Systems
Skill参照 Stripe、Linear、Apple、Vercel 的风格为网页产品建立统一的动效体系:可复用的动效基元、时长与缓动默认值、错峰编排、滚动与悬停交互,并要求只动 transform 与 opacity、支持 prefers-reduced-motion。
name: animation-systems
description: Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.
Animation Systems (Stripe × Linear × Apple × Vercel)
This skill helps you ship tasteful, product-grade motion. Not “more animation.” Better animation: clarity, hierarchy, feedback, and delight—without jank.
The goals (why motion exists)
Use animation to:
- Explain hierarchy (what matters)
- Confirm action (feedback)
- Guide attention (where to look next)
- Maintain continuity (spatial relationships)
- Add polish (craft signals)
If an animation doesn’t serve one of these, delete it.
The Stripe/Linear/Apple/Vercel style (shared traits)
1) Restraint
- Fewer animations, better chosen.
- One strong hero moment; the rest is supporting motion.
2) Clear choreography
- Primary element moves first.
- Secondary elements follow with small stagger.
- Motion establishes a “reading order.”
3) Physical but not cartoony
- Use easing that feels human (soft acceleration + gentle settle).
- Avoid bouncy defaults for serious product UI.
4) Texture + depth (subtle)
- Small parallax, soft shadows, blur fades, light beams.
- Avoid heavy 3D unless it’s the hero.
Motion primitives (build these first)
Think in primitives you can reuse everywhere.
A) Fade + rise (default entrance)
Use for: text blocks, cards, modals.
- Opacity: 0 → 1
- Y: 12–24px → 0
- Duration: 300–700ms depending on size
B) Scale + fade (micro emphasis)
Use for: popovers, toasts, selected states.
- Scale: 0.98 → 1
- Opacity: 0 → 1
C) Slide (navigation)
Use for: drawers, step transitions.
- Use transform translate; avoid animating layout.
D) Morph / shared element (high craft)
Use for: tab indicators, expanding cards.
- Requires consistent geometry + measured layout.
Defaults (practical numbers)
Use these as a starting system.
Durations (rule of thumb)
- Micro (hover/press): 120–200ms
- UI state change (toggle, select): 180–260ms
- Small transitions (popover, toast): 220–320ms
- Page section entrance: 400–800ms
- Hero sequences: 800–1600ms (with internal beats)
Easing (safe set)
Pick a small set and reuse.
- UI: ease-out with gentle settle
- Emphasis: slightly stronger ease
- Entering: ease-out
- Exiting: ease-in (faster)
If implementing:
- Use your animation library’s “power2.out / expo.out” equivalents.
- Avoid elastic/bounce unless brand is playful.
Stagger
- 40–90ms per element (text lines/cards)
- Use smaller stagger on mobile
Choreography patterns
1) “Hero → supporting elements”
- Hero visual animates in first.
- Headline appears next.
- CTA appears last.
2) “Section reveal on scroll”
- Trigger when section is ~20–30% visible.
- Animate once (don’t replay on tiny scroll).
3) “Hover: lift + glow”
- Y: -2 to -6px
- Shadow: subtle increase
- Optional: border/gradient glow
4) “Focus ring + micro shift”
- For form fields: focus ring + tiny scale/translate for responsiveness.
Performance rules (non‑negotiable)
Animate the right properties
Prefer:
transform(translate/scale/rotate)opacity
Avoid (unless necessary):
- width/height/top/left
- expensive filters on large areas
Respect the GPU
- Clamp device pixel ratio in heavy canvases (1–2)
- Keep blur subtle and small
- Avoid many simultaneous animated shadows
Reduce reflows
- Don’t measure layout every frame.
- For scroll effects, use a library that batches reads/writes.
Accessibility: Reduced Motion
Always support prefers-reduced-motion.
Policy:
- Keep content visible.
- Replace motion with instant state + subtle opacity.
- Disable scroll-scrub/pin.
Ask the user:
- “Do you want a reduced-motion mode that disables all non-essential motion?”
Implementation guidance (library-agnostic)
For simple sites
- CSS transitions for small hovers/toggles.
- Use a single motion library (GSAP or Framer Motion) for complex sequences.
For product sites
- Create a motion token set:
- durations
- easing curves
- standard offsets (8/16/24px)
- stagger defaults
For hero moments
- Use timelines (or keyframes) with labeled beats.
- Lock camera/scene movement first, then layer text.
What to ask the user
- What’s the brand lane: Stripe (polished), Linear (minimal), Apple (cinematic), Vercel (developer/product)?
- What are the key moments? (hero, scroll story, hover cards, nav transitions)
- Any performance constraints? (mobile, low-end devices)
- Reduced motion requirements?
Output format (when asked to “add Stripe/Linear-style animation”)
Return:
- Motion goals (what we’re trying to communicate)
- Motion tokens (durations + easing + offsets)
- A choreography plan (timeline beats)
- Implementation notes (perf + reduced motion)
- A small code recipe (CSS or GSAP/Framer depending on stack)
相關資源

Compact Landing
Skill构建紧凑、精致的落地页与产品页骨架:动手前先定好构图、配色、字体、圆角、表面与动效等「设计指纹」,每次换一种视觉方向,突出一个产品本身的演示件,首屏放主要操作;动效只用 transform、opacity 与 filter,保证零布局偏移,兼顾移动端、键盘焦点与减少动态效果设置。
danielwh2/compact-landing-skill39
Masked Reveal
Skill用 GSAP ScrollTrigger 让标题与短文案在进入视口时逐词从遮罩下方升起,提供不依赖付费 SplitText 插件的拆词代码、默认时长与错峰、React 清理写法,保留 aria-label 并支持减少动态效果。
MengTo/Skills8.7k
WebGL Landing Steering
Skill在制作以 WebGL 为主视觉的落地页前先定方向:按品牌调性与页面类型在四种视觉路线中选一种,过信息、性能、无障碍、稳定性四道关,先做静态降级再增强,输出推荐路线、视觉规格、技术栈与构建顺序。
MengTo/Skills8.7k
Apple Design
Skill以 Apple 人机界面指南为依据(内置从 developer.apple.com 抓取的 123 页原文)审查移动端与桌面应用的界面设计,从无障碍、平台惯例等五个角度逐项引用条款给出意见,同时指出模板化、缺少个性的地方。可审截图、设计稿、Figma 导出或界面代码,适用于 SwiftUI、UIKit、Flutter、React Native、Tauri、Electron。
dickwu/apple-design-skill4.1k
Scandinavian Design
Skill用北欧风格的视觉体系设计或改造界面:黑白中性底色、用透明度区分文字层级、克制的无衬线字体、宽松留白、清晰的分章节结构与极少装饰,优先保证理解、可用与无障碍。支持应用、评审、出三套原型与深度检查四种模式,需手动调用(/scandinavian-design)。
ericzakariasson/scandinavian-design448
OKLCH Colors
Skill在网页项目中使用 OKLCH 色彩空间:把 hex、rgb、hsl 转成 oklch,生成没有色相漂移的色阶与暗色模式配色,用 APCA 或 WCAG 检查对比度并只调亮度来修正,处理 P3 色域与 sRGB 回退,以及 Tailwind v4 的 @theme 配置;修改结果以前后对照表呈现。
jakubkrehel/oklch-skill291