Parallax Gallery

A multi-column parallax gallery where images drift at different speeds to create depth for editorial, fashion, photography, and visual campaign pages.

Published On: June 4, 2026
Last Updated: August 17, 2026
Parallax Gallery

Overview

Depth before explanation: Parallax Gallery is how atmosphere starts before a word is read.

Use Parallax Gallery when visual atmosphere matters more than step-by-step explanation. Editorial teams, fashion brands, photography studios, and image-led campaigns benefit most because the effect makes a collection feel curated rather than arranged. The page job is atmosphere: visitors should sense depth and pace before they begin comparing images.

In production, the risk is parallax distance. Too much offset creates layout shift, weakens text alignment, and turns the gallery into motion noise on mobile.


Install Command

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Usage Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Component Code

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.

This is a Pro Effect.

You can preview it now. Upgrade to Pro for instant install access.


Example Production Use Case

A photography studio relaunching its portfolio page: Parallax Gallery lets image columns drift at different depths, giving the impression of a curated body of work rather than a flat grid. The outcome is atmosphere: visitors browse longer before deciding whether to make contact.


Best Used For

  • Editorial or lifestyle galleries where atmosphere should arrive before detailed product comparison.
  • Editorial, fashion, and lifestyle pages that want atmosphere before the spec sheet.
  • Extends editorial or fashion pages without requiring more copy - the depth is the argument.

Not For

Not for ecommerce catalogues, image-heavy archives, or pages where speed-to-grid matters more than atmosphere.

Not for pages where image loading speed is the primary conversion variable - parallax offsets add render cycles.


Performance Budget

Animate transform and opacity, avoid layout reads in scroll handlers, pre-size media, and clean up timelines/listeners when the route changes.


Accessibility and Mobile

The animated sequence must match DOM order. On mobile, replace pinned or horizontal mechanics with stacked sections, native swipe, or static cards.


Common Mistakes

  • Setting column offset so large that images partially exit the viewport before the section ends.
  • Running the same multi-speed drift on touch instead of reducing it to a stable image stack.
  • Loading unoptimized images into parallax columns - parallax adds render cost; unoptimized images multiply it.

Changelog

v1.1.1

Jul 23, 2026
Fixed crash in scroll-snap onStart: lenis.stop() now uses optional chaining so consumers without a Lenis provider no longer throw a TypeError on every snap

Props

PropTypeDefaultDescription
bgColorcolor#111111Background color of the gallery section.
borderColorcolorrgba(255, 255, 255, 0.5)Color of the dashed border around the center frame.
rotationDegnumber6Max rotation (degrees) applied to off-center slides as they scroll past.
offscreenScalenumber1.2Scale applied to off-center slides relative to the centered one.
frameScalenumber1Multiplier on the center frame's width/height.

Frequently Asked Questions

How much parallax offset is too much on small viewports?

On phones, large offsets create visible gaps and judder because there's little vertical room for layers to separate, so reduce the per-column speed delta sharply or drop to a single speed. A few percent of differential is usually enough to read as depth without breaking the layout. If the columns can't separate cleanly, collapse to a static gallery.

Request a Custom Scroll Effect Animation

Need a custom effect? Tell us what to create.