A pinned full-screen section where scrolling shatters one photograph into hundreds of WebGL tiles. Each tile flips in 3D with a staggered diagonal wave, lifts toward the camera with soft edge shading and lands as part of the next photo, while a large headline and caption swap with every image and a progress line tracks the way. Photos are preloaded, cover-fitted on any screen and scrubbing back reverses the flip. Reduced motion, small failures and missing WebGL fall back to a simple photo crossfade.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { PhotoMosaicScroll } from "@/components/hyperblur-pro/photo-mosaic-scroll"
<PhotoMosaicScroll
eyebrow="Field notes"
tileSize={56}
slides={[
{ src: "/a.jpg", title: "First", text: "Caption." },
{ src: "/b.jpg", title: "Second", text: "Caption." },
]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| slides | PhotoMosaicScrollSlide[] | 5 landscape photos | Photos in order, each with src, alt, title and text. Photos are preloaded and cover-fitted at any aspect ratio. |
| eyebrow | string | "Field notes" | Small label at the top left and accessible name of the section. |
| accent | string | "#ffe2b8" | Color of the progress line, active dot and eyebrow dot. |
| scrollLength | number | 120 | Scroll distance per photo, in viewport heights. |
| smoothing | number | 7 | Scroll smoothing speed. Lower values feel heavier. |
| autoplay | boolean | true | Run a gentle preview transition until the visitor first scrolls. |
| maxDpr | number | 2 | Upper limit for the canvas pixel ratio (capped at 2). |
| tileSize | number | 56 | Approximate tile size in pixels. Small screens use tiles about 40 percent smaller. |
Source code is included in Pro and above