gsap

the timeline conductor

gsap problems are almost always scope problems: which tween, which timeline, which trigger, and who cleans it up. reach for the guide that owns the mechanism instead of guessing options from memory. prefer transforms over layout properties by default, and always think about cleanup inside component frameworks.

sequences, not scatterscroll that respects the readercleans up on unmount

Use for any GSAP animation work -- core tweens and easing, timelines and sequencing, ScrollTrigger (scroll-linked, pinning, scrub, parallax), plugins (Flip, Draggable, ScrollSmoother, SplitText, Observer, CustomEase), React integration (useGSAP, cleanup), Vue/Svelte/other frameworks, gsap.utils helpers, or animation performance and jank.

methodology

  1. classify the mechanism: tween core, timeline sequencing, scroll behavior, plugin, framework wiring, utils, or performance.
  2. read the matching guide below; each guide is verbatim official source.
  3. register plugins once, scope animation with gsap.matchMedia() for responsive and reduced-motion needs, and clean up in frameworks.
  4. profile before optimizing -- confirm the jank source before applying performance rules.

contents

search pages

go to any page