A raw WebGL gallery where image planes ride a sweeping arc. Drag, swipe, trackpad-scroll or use the arrows and the ring glides with inertia and snaps to the nearest frame, while each plane bows, shears and ripples with its velocity, with a light chromatic split. Titles follow the curve below each plane, autoplay steps through the ring, and Unsplash photos are used by default. Falls back to CSS-transformed cards without WebGL.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { BendRingGallery } from "@/components/hyperblur-pro/bend-ring-gallery"
<BendRingGallery bend={1.2} items={[{ title: "Northern Coast", meta: "Iceland", src: "/photos/coast.jpg" }, { title: "Desert Bloom", meta: "Procedural" }]} onSelectItem={(item) => console.log(item.title)} />| Prop | Type | Default | Description |
|---|---|---|---|
| items | { title: string; meta?: string; src?: string; alt?: string }[] | 10 photo frames | Frames on the ring. Defaults to ten Unsplash photos; without src a frame gets built-in procedural artwork. Remote images need CORS headers to be used as WebGL textures. |
| eyebrow | string | "Collected works" | Small label above the heading. |
| heading | string | "A ring of quiet places" | Heading in the top-left corner, also used as the accessible label. |
| bend | number | 1 | Curvature of the arc from -2 to 2. 0 is flat, negative values bend upward. |
| autoplay | boolean | true | Steps to the next frame on a timer. Pauses on hover, focus, drag, offscreen and under reduced motion. |
| interval | number | 3200 | Autoplay step interval in ms. |
| verticalWheel | boolean | false | Also move the ring with a vertical mouse wheel (captures page scroll while over the gallery). Horizontal trackpad swipes always move it. |
| accent | string | "#ffcf6e" | Accent color for the active title, progress and buttons. |
| height | string | "min(100svh, 900px)" | Height of the gallery, any CSS length (min-height is 560px). |
| onSelectItem | (item, index) => void | undefined | Called when the centered frame is clicked or Enter is pressed. Clicking a side frame brings it to the center. |
| className | string | "" | Extra classes for the root section. |
Source code is included in Pro and above