bitworking/react-gsap
bitworking/react-gsap has 668 GitHub stars and 32 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 22:35 UTC. Last push 2026-05-09.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
React components for GSAP
Web & AppsREADME.md
Originalreact-gsap
React components for GSAP
[!CAUTION] This library hasn't been updated in quite some time. It should work with React 19 if you ignore the package warnings, but it doesn't use the latest GSAP APIs, particularly
gsap.context(). There is now also auseGSAPhook available directly from GSAP, which you might want to consider if you don't need a strictly declarative approach. Please contact me, if you want to work on the next version, which uses all modern features of GSAP.
Introduction
react-gsap lets you use the GreenSock Animation Platform (GSAP) in React in a fully declarative way.
It abstracts away the direct use of the GSAP Tween and Timeline functions.
If you need the full control it's possible by getting low level access to the underlying objects.
In addition to that it ships some GSAP Plugins and useful helper components.
From version 2 on it's build for GSAP 3 and only has gsap as a peer dependency. In this way you can update gsap separately from react-gsap.
It's built with TypeScript and ships the types directly in the package.
Documentation and examples are here: https://bitworking.github.io/react-gsap/
The examples on the documentation pages are all editable directly in the browser. So play with it!
Installation
npm install gsap react-gsap
About GSAP
GreenSock Animation Platform (GSAP) is a set of some JavaScript functions which let you tween a value/attribute/css property over time and insert these tweens into a timeline for more complex animations.
react-gsap just adds some React wrapper components for these functions, so also read the official GreenSock documentation to know how to do things:
License
MIT © bitworking