Skip to content

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

License

Notifications You must be signed in to change notification settings

LynksenDymytrii/react-gsap-utils

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published