0.1.2 • Published 3 months ago

@lynksen/react-scrolltrigger-reveal v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

React ScrollTrigger Reveal

Easily animate (reveal) any React elements on scroll with GSAP ScrollTrigger.
Supports custom animation parameters with gsap.from().

Getting started

  1. Install npm package: npm install @lynksen/react-scrolltrigger-reveal
  2. Import the component inside your React project:
  3. Place any elements you want to animate on scroll, inside <RevealOnScroll>

Usage

Demo

  • Codepen

Features

  • 👌🏻 Zero-config, easy to use
  • 🧩 Written in TypeScript
  • ✅ Compatible with GSAP's ScrollSmoother, ScrollTrigger

Caveats

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

License

MIT.

0.1.2

3 months ago

0.1.1

3 months ago

0.1.0

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago