Updated for 2025

Best GSAP Components
for React & Next.js

A curated collection of 22 production-ready GSAP animation components you can copy-paste or install via CLI. Built for React 19, Next.js 16, and TypeScript. Every component is self-contained, accessible, and free under the MIT license.

npx tweenlabs@latest add FlipCards
Browse All Components →

Why GSAP for React & Next.js?

Performance

GSAP animates off the main thread using requestAnimationFrame with automatic batching. Zero layout thrashing, sub-16ms frame budgets.

ScrollTrigger

The most powerful scroll-animation engine available. Pin elements, scrub timelines, create parallax effects — all with a single plugin.

Timeline Control

Sequence complex animations with labels, staggers, and easing functions. Pause, reverse, seek — full programmatic control.

Scroll-Driven Animations

Components that animate based on scroll position using GSAP ScrollTrigger. Perfect for storytelling landing pages and immersive experiences.

Interactive & Mouse-Driven

Components that respond to user input — cursor position, clicks, and drags. These create engaging, tactile web experiences.

Typography & Text Effects

Creative text animations using GSAP timelines and SVG filters. Great for hero sections, headings, and brand statements.

Layout & Structure

Animated layout components that bring structure and motion to your page — grids, accordions, tabs, and more.

How to Install GSAP Components

Option 1: CLI (Recommended)

npx tweenlabs@latest add ComponentName

Option 2: Copy-Paste

  1. Install dependencies: npm install gsap @gsap/react
  2. Click "Get Code" on any component card
  3. Paste the code into your project — every component is self-contained

Frequently Asked Questions

What are the best free GSAP components for React?+

TweenLabs offers 22 free, production-ready GSAP components for React and Next.js including ScrollTrigger decks, 3D carousels, morphing text effects, parallax heroes, kinetic typography, and fluid cursor animations. All components are MIT-licensed, self-contained, and installable via npx tweenlabs@latest add ComponentName.

Is GSAP better than Framer Motion for animations?+

GSAP excels at complex, timeline-based animations with ScrollTrigger, SVG morphing, 3D transforms, and physics-based motion. Framer Motion is better for simple declarative animations tied to React state. For high-fidelity scroll animations and interactive experiences, GSAP is the industry standard.

Can I use GSAP with Next.js App Router?+

Yes. Use the @gsap/react useGSAP hook inside client components (marked with "use client"). The hook automatically handles cleanup on unmount, preventing memory leaks. TweenLabs components are specifically optimized for Next.js 16 App Router.

Are these components accessible?+

Yes. All TweenLabs components respect prefers-reduced-motion, use semantic HTML, include ARIA attributes where needed, and maintain keyboard navigability.

Browse by Category

Start Building with GSAP

Browse 22 premium animation components. Pick one, install it, and ship something beautiful.

Explore All Components →