@lynksen/react-gsap-utils
TypeScript icon, indicating that this package has built-in type declarations

0.9.6 • Public • Published

React GSAP Utils

Collection of zero-config, drop-in utilities to animate React elements and components using GSAP. Supports all GSAP Tween animation props.

See the DEMO on Codepen

  • 👍🏻 Zero-config, easy to use
  • 👌🏻 No dependencies, only 16KB unpacked size
  • 🧩 Fully written in TypeScript
  • ✅ Compatible with existing GSAP's ScrollSmoother, ScrollTriggers in your project

Installation

npm install @lynksen/react-gsap-utils

Usage

1. Animate On Mount

2. Animate On Scroll

Caveats

  • ⚠️ Compatibility with custom scroll smoothing libraries may not be possible.

License

MIT.

Package Sidebar

Install

npm i @lynksen/react-gsap-utils

Weekly Downloads

1

Version

0.9.6

License

MIT

Unpacked Size

18.5 kB

Total Files

24

Last publish

Collaborators

  • dymytrii
  • lynksen.dev