设计与多媒体

gsap-motion

试用

Design and implement intentional web motion with GSAP, React, Next.js, ScrollTrigger, Flip, SplitText, accessibility, performance, and responsive behavior. Use when animation or interaction polish is part of a frontend task.

它能做什么

Design and implement intentional web motion with GSAP, React, Next.js, ScrollTrigger, Flip, SplitText, accessibility, performance, and responsive behavior. Use when animation or interaction polish is part of a frontend task.

技能文档

GSAP Motion

Use this skill to add motion that clarifies state, hierarchy, navigation, storytelling, or direct manipulation in modern web interfaces.

Prefer the simplest durable tool:

  • Use CSS transitions or keyframes for simple hover, focus, opacity, transform, and one-off state changes.
  • Use GSAP Core for precise sequencing, interruption control, complex transforms, and animation that must be coordinated across elements.
  • Use timelines when multiple animations need shared timing, labels, pause/resume, or reversal.
  • Use ScrollTrigger for scroll-linked reveals, pinned sections, progress, and scroll storytelling.
  • Use Flip for layout reordering, drag/drop transitions, masonry changes, filters, and route-level layout continuity.
  • Use SplitText only when text animation is central to the experience and accessibility/fallbacks are handled.

Operating Rules

  • Motion must serve a product purpose: orientation, feedback, emphasis, continuity, or delight.
  • Keep motion mobile-first and fast. Default to shorter durations, clear easing, and fewer moving parts on small screens.
  • Respect prefers-reduced-motion; provide meaningful reduced or disabled motion paths.
  • Animate transform and opacity whenever possible. Avoid animating layout-heavy properties in high-frequency motion.
  • In React, scope animations to component lifecycles and clean up all GSAP instances, triggers, media queries, and observers.
  • In Next.js, keep GSAP code on the client side and avoid server-side access to window, document, or DOM refs.
  • Avoid decorative motion that competes with reading, decision-making, forms, navigation, or primary content.

Routing

Read only what is relevant to the current task:

  • For choosing CSS vs GSAP and selecting a pattern, read references/decision-guide.md.
  • For GSAP basics, tweens, eases, utilities, cleanup, and defaults, read references/gsap-core.md.
  • For sequencing, labels, shared control, and reversible UI motion, read references/timelines.md.
  • For scroll reveals, pinned sections, scrubbed scenes, and responsive scroll behavior, read references/scrolltrigger.md.
  • For React component integration, refs, useGSAP, context, and cleanup, read references/react.md.
  • For Next.js App Router, client components, dynamic import, SSR boundaries, and route transitions, read references/nextjs.md.
  • For accessibility, reduced motion, focus, vestibular safety, and text animation caveats, read references/accessibility.md.
  • For rendering performance, layout thrash, GPU compositing, and testing, read references/performance.md.
  • For breakpoints, input modes, resize behavior, and mobile-first defaults, read references/responsive-motion.md.
  • For motion strategy, hierarchy, personality, and microinteractions, read references/motion-design.md.
  • For common mistakes and when not to animate, read references/anti-patterns.md.

Use examples only as adaptation references, not as fixed templates:

  • examples/hero.tsx for staged hero entrances.
  • examples/section-reveal.tsx for progressive section reveals.
  • examples/stagger-cards.tsx for card grids and ranking lists.
  • examples/scroll-storytelling.tsx for ScrollTrigger scenes.
  • examples/flip-layout.tsx for layout reorder/filter transitions.
  • examples/reduced-motion.tsx for reduced-motion handling.

Delivery Checklist

Before finishing a frontend motion task:

  • Confirm motion still works when content length changes.
  • Confirm cleanup prevents duplicated animations after remounts or route changes.
  • Confirm keyboard and screen-reader flows remain usable.
  • Confirm reduced-motion behavior is present.
  • Confirm mobile and desktop timing, spacing, and trigger points feel appropriate.
  • Confirm no important text or controls are obscured during animation.

相关技能

一个全面的GSAP动画生成工具,提供AI驱动的意图分析、完整的API覆盖和生产就绪的动画模式,帮助开发者快速创建高性能动画。

1 次安装

Design and build cinematic, interactive web presentations where concepts unfold through motion, spatial storytelling, transformations, diagrams and audience interaction instead of conventional slide layouts.

1 次安装

Conceive, build, or review cinematic and spatial web experiences organized as connected scenes, using GSAP as the default motion layer and Three.js/WebGL only when real 3D or shader rendering materially improves the concept. Use for immersive landing pages, portfolios, launches, editorials, interact

Elite UX/UI & Advanced GSAP Motion Engineer. Enforces Python-driven true randomization for layout variance, strict AIDA page structure, wide editorial typogr...

3 次安装

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

4 次安装

Build polished, conversion-aware frontends with strong visual taste, clear hierarchy, and production-grade HTML/CSS/JS. Landing pages, dashboards, components...

59 次安装2 星标