
Liquid Glass Cursor
Cursor
A layered scroll slider that adds parallax depth to visual case studies, product showcases, and campaign galleries.
Parallax Slider gives a slide sequence depth without leaving the scroll path. It suits pages where browsing should feel guided but not trapped.
Use Parallax Slider when a visual sequence needs motion depth but not a heavy 3D system. Portfolio projects, product galleries, and campaign visuals can use it to make each slide feel layered. The page job is exploration: the visitor should keep moving through the sequence because the next image feels close, not hidden.
The risk in production is slide readability. Parallax offsets must not obscure captions, controls, or active-state context, especially on touch devices.
import ParallaxSlider from '@/components/effects/parallax-slider' const page = () => { return ( <> <ParallaxSlider images={['https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-01.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-02.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-03.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-05.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-06.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-07.jpg','https://pub-8abee449136941f5b0a1cd2c014534e9.r2.dev/vault-listing-images/assets-images/h-08.jpg', ]} /> </> )} export default pageA product marketing team presenting campaign visuals: Parallax Slider gives each slide a clip-path reveal and an inner image parallax as scroll moves the track sideways. It ships no controls or captions, so add them alongside if the sequence needs them. The outcome is exploration: visitors move through the sequence without losing orientation.
Animate transform and opacity, avoid layout reads in scroll handlers, pre-size media, and clean up timelines/listeners when the route changes.
The animated sequence must match DOM order. On mobile, replace pinned or horizontal mechanics with stacked sections, native swipe, or static cards.
| Prop | Type | Default | Description |
|---|---|---|---|
parallaxAmount | number | 25 | Percent horizontal shift each image parallaxes as it crosses the viewport. |
slideGap | number | 1.6 | Gap between slides, in vw. |
scrub | number | 1 | GSAP ScrollTrigger scrub value on the main horizontal track - higher lags/smooths more, lower tracks scroll 1:1. |
It adds depth to a slide sequence without taking users off the scroll path, so browsing feels guided but never trapped in a separate mode. Layers within each slide move at different rates as you scroll through. Use it when you want slide-like presentation that still respects normal page scrolling.
Flatten the internal parallax and let slides advance with native swipe or a simple stack, since layered depth reads poorly on a narrow screen. Keep the sequence escapable by ordinary scrolling. With reduced motion the horizontal scroll still runs; only the in-slide parallax drops to 25% and the clip reveal eases linearly.
Check that scroll never feels hijacked, that layers don't clip at slide edges, and that focus and DOM order follow the slide sequence. Verify smooth performance across the full slide count. There is no swipe or static fallback built in, so confirm every slide is reachable by scrolling at each breakpoint.
A handful of visual slides which includes case studies, product angles, or campaign frames where light depth adds polish to browsing. It's not for dense text or for long catalogues. Keep each slide focused on one image and a short caption.
Avoid it when users need to scan many items quickly or compare them precisely, and on text-heavy pages. If the parallax makes the slides feel like a hijacked carousel, drop it. Skip it where a plain gallery would be faster to use.
Need a custom effect? Tell us what to create.