npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-gsap-effects

v0.2.0

Published

TypeScript-first React animation library featuring reusable GSAP-powered effects.

Readme

react-gsap-effects

npm version npm downloads License GitHub stars

Reusable animation components for React powered by GSAP.

Build beautiful, production-ready animations with minimal code — without writing repetitive GSAP boilerplate every time.


Why react-gsap-effects?

Building animations with GSAP inside React often requires repeated setup:

  • Managing refs manually
  • Writing repetitive animation logic
  • Creating timelines for simple effects
  • Reusing the same boilerplate across projects

react-gsap-effects solves this by providing reusable React animation components that let developers focus on building UI instead of rewriting animation logic.


Features

  • 🚀 Built with React + TypeScript
  • ⚡ Powered by GSAP
  • 📦 Lightweight and tree-shakeable
  • 🎯 Developer-friendly API
  • 🔒 Fully type-safe props
  • 🧩 Reusable animation components
  • 🎨 Beautiful animation primitives for modern UI
  • 📚 Designed for future expansion

Installation

Install package:

npm install react-gsap-effects

Install peer dependencies:

npm install gsap @gsap/react

Usage

import { TextReveal } from "react-gsap-effects";
import "react-gsap-effects/styles";

export default function App() {
  return (
    <TextReveal
      text="Build beautiful user experiences"
      duration={1.2}
      stagger={0.05}
    />
  );
}

Available Components

Currently available:

  • ✅ TextReveal

More components are coming soon.


TextReveal

Animate text smoothly using GSAP-powered staggered reveal animation.

Example

<TextReveal
  text="Build amazing user experiences"
  duration={1}
  stagger={0.05}
  delay={0.2}
/>

TextReveal API

| Prop | Type | Default | Description | | --------- | ------ | -------- | -------------------------------- | | text | string | Required | Text to animate | | duration | number | 1 | Animation duration in seconds | | delay | number | 0 | Initial animation delay | | stagger | number | 0.05 | Delay between animation sequence | | className | string | "" | Additional CSS classes |


Peer Dependencies

This package relies on the following peer dependencies.

{
  "react": ">=18",
  "react-dom": ">=18",
  "gsap": ">=3",
  "@gsap/react": ">=2"
}

Make sure these are installed in your project.


Current Release

v0.2.0

Implemented:

  • ✅ TextReveal

Current focus:

  • Improving API architecture
  • Expanding reusable animation components
  • Improving performance and developer experience

Upcoming Components

Planned additions to the library.

  • [ ] MagneticButton
  • [ ] MouseTrail
  • [ ] GravityTrail
  • [ ] ScrollReveal
  • [ ] CursorFollower
  • [ ] ParallaxImage
  • [ ] FloatingCards
  • [ ] HoverDistortion
  • [ ] ImageTrail

Live Demo

Interactive demo: https://react-gsap-effects.vercel.app/


Project Status

react-gsap-effects is currently under active development.

This package is in early-stage release and the API may evolve as new components and improvements are introduced.


Philosophy

The goal of react-gsap-effects is simple.

Make advanced frontend animations accessible through reusable, developer-friendly React components.

Instead of repeatedly writing complex GSAP setup code, developers can focus on building beautiful interfaces faster.


Contributing

Contributions, feature requests, and bug reports are welcome.

If you have an idea for a new animation effect or want to improve the package, feel free to open an issue or submit a pull request.


License

MIT © Ritik Kumar Gupta