A pinned full-screen section where scrolling pours one photograph into the next like ink in water. A WebGL shader builds a domain-warped fluid field, so the incoming photo spreads upward with organic, feathered edges, refracts through the flow, splits color along the rim and drifts slowly even at rest. Headline and caption change with every image, progress is shown by a line with dots, and scrolling back reverses the liquid. Reduced motion and missing WebGL fall back to a photo crossfade.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { LiquidPhotoScroll } from "@/components/hyperblur-pro/liquid-photo-scroll"
<LiquidPhotoScroll
accent="#ffe2b8"
slides={[
{ src: "/a.jpg", title: "First", text: "Caption." },
{ src: "/b.jpg", title: "Second", text: "Caption." },
]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| slides | LiquidPhotoScrollSlide[] | 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). |
Source code is included in Pro and above