react-gsap Docs
Introduction
Components
Plugins
Instructions

Low-level access

You are able to use the complete API of the underlying GSAP objects. Just add a reference to the React Tween or Timeline components and get the Tween or Timeline objects from GSAP by calling the getGSAP() method on it:

import { PlayState, Tween } from 'react-gsap';

Usage with Tween