Skip to content
Hz
esc
  • Micro
    Magnetic buttonR01 · quickTo
  • Line-mask headlineR02 · SplitText
  • OdometersoonR03 · Timeline
  • Text scrambleR04 · ScrambleText
  • Copy-button morphsoonR05 · MorphSVG
  • Directional underlinesoonR06 · Core
  • Squash togglesoonR07 · Core
  • Sliding tab indicatorR08 · Flip
  • Layout & scroll
    Flip filter gridR09 · Flip
  • Card to detailsoonR10 · Flip
  • Pinned horizontal galleryR11 · ScrollTrigger
  • Stacking cardssoonR12 · ScrollTrigger
  • Height-auto accordionR13 · Core
  • Scroll-read highlightR14 · ScrollTrigger
  • Clip-path image revealsoonR15 · Core
  • SVG line drawsoonR16 · DrawSVG
  • Physics & delight
    Velocity marqueeR17 · ScrollTrigger
  • Inertia carouselR18 · Draggable · Inertia
  • Route transitionR19 · App Router
  • Cursor followerR20 · quickTo
  • Toast stacksoonR21 · Flip
  • Draggable bottom sheetsoonR22 · Draggable
  • Cursor image trailsoonR23 · Core
  • Preloader handoffsoonR24 · Timeline
  • Pages
    All recipesHome
  • Easing labTool
  • DocsInstall and usage
  • AboutWhat Hz is
About

Motion that feels crafted, not busy.

Hz is a set of GSAP interaction recipes for Next.js. Each one is small enough to read in a minute, tuned until it feels right, and explained so you know why it works. The name is the unit of frequency: smooth motion is a frame rate you never notice.

12 of 24 recipes ready

01

Measured, not busy

Every motion earns its place. Calm is the default.

02

Show the numbers

Ease, duration, progress and frame rate stay visible, like an instrument.

03

The stage is the hero

The interface steps back, like walls in a gallery.

Every recipe follows the same rules

  1. 01Only gsap and @gsap/react as dependencies.
  2. 02Under 150 lines for the component.
  3. 03Set up inside useGSAP, so cleanup is automatic.
  4. 04Safe for server rendering in the App Router.
  5. 05A real reduced-motion fallback.
  6. 06Interruptible where it matters.
  7. 07Keyboard friendly, with alternatives for pointer-only gestures.

Credits

Built on GSAP, which became free for everyone in 2025. Distributed through the shadcn registry. Type set in Geist. Made by Sounak Pal. The code is MIT licensed and on GitHub.

Read the docs →