Back to blocks
Sand Scroll Hero React component

What is this?

A full-screen hero with a beige frame and sandy card. As you scroll the sticky stage, the headline reveals letter by letter from behind a central greenery Lottie. Swap the headline, subcopy, logo, and Lottie, then drop it onto an environment, tech, or brand landing page.

Full TSX source. No account needed.

saapro-hero.tsx

"use client"; import { useEffect, useMemo, useRef, useState } from "react";import { Lottie, type LottieHandle } from "lottie-react";import {  getScrollParent,  readScrollProgress,  resolveScrollSceneTrackHeight,

Read the guide

BlockPass

Sand Scroll Hero

A full-screen hero with a beige frame and sandy card. As you scroll the sticky stage, the headline reveals letter by letter from behind a central greenery Lottie. Swap the headline, subcopy, logo, and Lottie, then drop it onto an environment, tech, or brand landing page.

Checking access…
Live Preview

Verified Technical Spec

Animation
CSS / Tailwind
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
  • Finished React · TypeScript · Tailwind CSS UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16
  • lottie-react 3.1.1

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS

Version 1.0.0