Parallax Carousel

A draggable image carousel with a smooth parallax feel

Customize

Image Width
360
Image Height
480
Gap
32
Border Radius
16
Parallax Intensity
0.40
UV Scale
0.85
Lerp
0.08
Wheel Sensitivity
1.0
Drag Sensitivity
1.4
Autoplay Speed (px/s)
40

Props

16
imagesstring[]

Ordered list of image URLs (required)

Default[]
imageWidthnumber

Plane width in CSS pixels

Default420
imageHeightnumber

Plane height in CSS pixels

Default560
gapnumber

Horizontal gap between planes in CSS pixels

Default32
parallaxIntensitynumber

UV-space horizontal counter-shift as planes drift from centre (0–1)

Default0.4
uvScalenumber

Inner texture inset that gives the parallax shift room to move (0.6–1)

Default0.85
lerpnumber

Smoothing factor for the scroll lerp (0–1)

Default0.08
wheelSensitivitynumber

Multiplier on wheel deltas

Default1
dragSensitivitynumber

Multiplier on pointer-drag deltas

Default1.4
loopboolean

Loop endlessly horizontally (planes wrap around)

Defaultfalse
borderRadiusnumber

Border radius applied to each plane in CSS pixels

Default16
autoplaySpeednumber

Idle drift speed in CSS px/s when not interacting

Default0
pauseOnHoverboolean

Pause autoplay while the cursor is over the carousel

Defaulttrue
showProgressboolean

Show a progress indicator at the bottom (hidden in loop mode)

Defaulttrue
classNamestring

Additional CSS classes for the container

Default""
refParallaxCarouselRef

Imperative API: { scrollToIndex(i), reset() }

Defaultundefined