A pinned full-screen section where scrolling cuts one photograph into vertical strips that slide at different speeds, some rising and some falling, to reveal the next photo underneath. Strips carry soft shadows on their edges and onto the arriving image, the photos breathe with slight parallax zoom, and a large headline plus caption swap with each image. Scrubbing back reassembles the picture. Reduced motion falls back to a photo crossfade.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { SlicePhotoScroll } from "@/components/hyperblur-pro/slice-photo-scroll"
<SlicePhotoScroll
strips={9}
slides={[
{ src: "/a.jpg", title: "First", text: "Caption." },
{ src: "/b.jpg", title: "Second", text: "Caption." },
]}
/>| Prop | Type | Default | Description |
|---|---|---|---|
| slides | SlicePhotoScrollSlide[] | 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). |
| strips | number | 9 | Number of vertical strips on wide screens. Small screens use about 65 percent. |
Source code is included in Pro and above