A split hero where product panels slide up one over another and the ones underneath tilt back, shrink and dim into a deck. The step list on the left follows the panel on top.
Cards, approvals and reconciliation in one ledger, so month-end stops eating the first week of the month.
npx shadcn@latest add https://hyperblur.dev/r/hero-scroll-stack.jsonWorks in any React project set up with the shadcn CLI. The file lands in components/hyperblur/hero-scroll-stack.tsx.
import { HeroScrollStack } from "@/components/hyperblur/hero-scroll-stack"
<HeroScrollStack title="Spend control that keeps up" accent="#10b981" />| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Ledgerly for finance teams" | Label above the headline. |
| title | string | "Close the books before lunch" | Headline. |
| subtitle | string | "Cards, approvals and reconciliation..." | Paragraph under the headline. Hidden when empty. |
| steps | [Step, Step, Step, Step] | Issue cards, Approve spend, Reconcile, Close the month | Four { title, text } steps. The active one expands to show its text. |
| cta | { label: string; href: string } | null | { label: "Book a 20-minute demo", href: "#" } | White pill under the steps. null hides it. |
| accent | string | "#2f7bff" | Accent color used for highlights, buttons and progress details. |
| progress | number | undefined | Controlled progress from 0 to 1. When set, scroll tracking and autoplay are ignored. |
| autoPlay | boolean | false | Loops the progress by itself, forward, hold, then back. Use it for previews where nobody scrolls. |
| duration | number | 6 | Seconds for one forward pass of the autoplay loop. |
| length | number | 4 | Scroll distance in stage heights while the hero is pinned. Ignored with progress or autoPlay. |
| height | string | "100vh" | Height of the pinned stage. Use a pixel value when the hero lives inside a scrolling container. |
| headingAs | "h1" | "h2" | "h1" | Heading level of the headline. Use h2 when the page already has an h1. |