Recommended by Pro Trailblazer
GSAP
GSAP React
Official React integration for GSAP that handles animation cleanup and scope so hooks stay predictable.
About
@gsap/react ships the useGSAP() hook, a drop-in replacement for useEffect and useLayoutEffect that automatically reverts every GSAP animation, ScrollTrigger, Draggable, and Flip instance when the component unmounts or dependencies change. It also gives you a contextSafe helper so event handlers can register animations without leaking. Since GSAP itself became fully free under the Webflow umbrella, the entire toolkit, including SplitText, MorphSVG, and all former Club plugins, is available without a license.
Highlights
- useGSAP() handles cleanup of animations, ScrollTriggers, and Flip states automatically on unmount
- contextSafe wrapper lets event handlers register animations without orphaning them
- Works with Next.js, including the App Router and Strict Mode double-invocation
- All former Club GreenSock plugins are now free under the Webflow-owned GSAP license