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
GSAP · Next.js · 24 recipes

Motion, measured.

Interaction recipes for Next.js, built with GSAP. Tune each one live, read why it works, then copy the code or install it with one command.

Browse recipes
$ npx shadcn add https://hz.sounakpal.dev/r/magnetic-button
R02 · LINE-MASK HEADLINELIVE
t 0.00 / 0.76s · stagger 0.08expo.out · 60.0 Hz
Dependencies
gsap + @gsap/react
Size
Under 150 lines each
Cleanup
useGSAP, no leaks
Accessibility
Reduced-motion fallback
Install
Copy, or shadcn CLI
Index · 24

Recipes