Back to blocks
Ingredient Scroll React component

What is this?

On landscape screens, a vertical visual slides in from the center and grows on the left while ingredient cards stagger in on the right. Swap the card copy, photos, and media, then drop it into a beauty or product landing page.

Full TSX source. No account needed.

home-point-ingredient.tsx

"use client"; import { useEffect, useLayoutEffect, useRef, useState } from "react";import gsap from "gsap";import { ScrollTrigger } from "gsap/ScrollTrigger";import { getScrollParent, isElementScrollRoot } from "@/lib/studioPreviewMotion";import { clamp01, cn } from "@/lib/utils"; 

Read the guide

BlockPass

Ingredient Scroll

On landscape screens, a vertical visual slides in from the center and grows on the left while ingredient cards stagger in on the right. Swap the card copy, photos, and media, then drop it into a beauty or product landing page.

Checking access…
Live Preview

Verified Technical Spec

Animation
GSAP
Reduced motion
Verified
Keyboard focus
Not detected in source
Compatibility
Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible

Included

  • Copy source into Cursor or Claude for agent install
  • Responsive on phone, tablet, and desktop
  • Finished React · TypeScript · Tailwind CSS · GSAP UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16
  • GSAP 3.15.0

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS
  • GSAP

Version 1.0.0