Wrap Wall
A gallery wall that curves around the viewer: panels at the sides come closer, the wall drifts on its own, and a drag, flick or scroll turns it.
pixikit.com/docs/components/wrap-wall
Customize
Preset
Aspect1.25
Size0.46
Curvature0.72
Distance4.0
Tilt0.0°
Gap16px
Radius14px
Reflection0.06
Dim0.35
Autoplay
Speed0.16
Interval4.0s
Snap
Inertia0.50
Pause on hover
Draggable
Wheel
Captions
Controls
Background color
Paused
Props
31| Name | Type | Default | Description |
|---|---|---|---|
items | WrapWallItem[] | DEFAULT_ITEMS | Images hung around the wall, in order. Title and subtitle caption the centred image; href makes clicking it navigate. |
preset | "rotunda" | "panorama" | "gallery" | "cinema" | "seamless" | "crown" | "rotunda" | A named layout. Values you leave at their defaults follow it. |
startIndex | number | 0 | The image centred at first. |
aspect | number | 1.25 | Panel width divided by height. |
size | number | 0.46 | Panel height as a share of the wall height. |
curvature | number | 0.72 | How strongly the wall bends around the viewer. 0 is a flat wall. |
distance | number | 4 | How far the viewer stands from the wall; lower values exaggerate the bend. |
tilt | number | 0 | Degrees the wall leans back (negative) or forward. |
gap | number | 16 | Space between panels, in pixels. |
radius | number | 14 | Corner rounding of the panels, in pixels. |
reflection | number | 0.06 | Strength of the mirror image under each panel. |
dim | number | 0.35 | How much panels away from the centre fade into the background. |
autoplay | "drift" | "step" | "off" | "drift" | 'drift' turns the wall slowly, 'step' moves one panel every interval, 'off' leaves it still. |
speed | number | 0.16 | Drift speed in panels per second; negative turns the other way. |
interval | number | 4 | Seconds between steps when autoplay is 'step'. |
snap | boolean | true | Settles with a panel centred after a drag, flick or scroll. |
inertia | number | 0.5 | How long a flick carries on. |
pauseOnHover | boolean | true | Brakes the motion while the pointer rests on the wall. |
draggable | boolean | true | Grab the wall and turn it; flicks carry on with momentum. |
wheel | boolean | true | Scroll to turn the wall, one panel per notch. Set false to leave page scrolling untouched. |
captions | boolean | true | Shows the title and subtitle under the centred image. |
controls | boolean | true | Shows the previous and next buttons with the counter. |
backgroundColor | string | "transparent" | Color behind the wall. |
paused | boolean | false | Freezes drift and steps. |
dpr | number | 2 | Kept for parity with canvas galleries; this one is drawn by the browser at its own pixel ratio. |
ariaLabel | string | "Curved image wall" | Label announced for the wall. |
onIndexChange | (index: number) => void | None | Called when the centred image changes. |
onSelect | (item: WrapWallItem, index: number) => void | None | Called when the centred image is clicked or Enter is pressed. |
ref | Ref<WrapWallHandle> | None | Handle with next, previous and goTo. |
className | string | None | |
style | CSSProperties | None |