
Description
Official GSAP integration for React with useGSAP hook, automatic cleanup, and scoped selectors. Use the useGSAP() hook instead of useEffect for automatic cleanup on unmount and built-in context safety for callbacks. Always pass a scope (ref or element) to limit selectors to the component and prevent unintended matches across the DOM.…
Ratings & Reviews
No ratings yet
Be the first to rate gsap-react.
People also visit
greensock/gsap-react
React integration with useGSAP hook, refs, gsap.context(), cleanup, and SSR

gsap-frameworks
GSAP animation setup for Vue, Svelte, Nuxt, and other component frameworks
greensock/gsap-frameworks
Vue, Svelte, and other frameworks with lifecycle, scoping, and cleanup patterns
gsap-react FAQ
What is gsap-react?
Official GSAP integration for React with useGSAP hook, automatic cleanup, and scoped selectors. Use the useGSAP() hook instead of useEffect for automatic cleanup on unmount and built-in context safety for callbacks. Always pass a scope (ref or element) to limit selectors to the component and prevent unintended matches across the DOM.
Is gsap-react free?
Yes. gsap-react is free to use.
Who makes gsap-react?
gsap-react is made by GreenSock.
What are the best gsap-react alternatives?
Popular alternatives to gsap-react include gsap-react, greensock/gsap-react and gsap-frameworks. See all gsap-react alternatives








