---
title: "Parallax Wall"
description: "A hero wall of photo or card columns. Each column moves at its own speed as the page scrolls and stops at its last card."
url: https://gelatinui.com/components/parallax-wall
markdown_url: https://gelatinui.com/components/parallax-wall.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/parallax-wall"
version: "2026-11-10"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Parallax Wall

> A hero wall of photo or card columns. Each column moves at its own speed as the page scrolls and stops at its last card.

Page: https://gelatinui.com/components/parallax-wall

## When to use it

Best for: A hero wall of photo or card columns that move at their own speed as the page scrolls.

- Give each `ParallaxWallColumn` its own `speed` (0.7 to 1.8 reads well; 1 is the designed pace).
- Set `direction="down"` on every second column, so the columns weave.
- Add `repeat={1}` to a short column, so it has room to travel.
- Use `range="view"` for a wall further down the page.

## When not to use it

- For a row of items that moves on its own with no scroll, use a [Marquee](https://gelatinui.com/components/marquee.md).
- For one picture that moves in its frame as the page scrolls, use [Parallax](https://gelatinui.com/components/parallax.md).

## Notes for agents

- The wall is decoration: its columns are `inert`. Put buttons and forms in a solid layer on top of the wall.
- A column stops when its last card reaches the wall edge, so the wall never shows an empty band.
- `fade` (default true) softens the top and bottom edges; `tilt` lays the wall back in 3D; `pointer` adds depth.
- Set the height with `className` (default 40rem, 28rem under 640px). The sides clip.

## Anatomy

```text
ParallaxWall
└─ ParallaxWallColumn (0..n)
```

## API reference

### ParallaxWall

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `range` | `"page" \| "pin" \| "view"` | "page" | Where the scroll source counts from: `view` (default, the item's own pass through the view), `page` (the page scroll from its top, for a hero), or `pin` (the px a tall section with a sticky stage has pinned). See `PARALLAX_RANGES`. |
| `container` | `RefObject<HTMLElement \| null>` |  | The scroll box, when the item scrolls inside one and not with the page. |
| `pointer` | `boolean` |  | Adds the pointer source: the layers drift toward the mouse over the item. Default false. |
| `disabled` | `boolean` |  | Rests every layer and stops the work. |
| `fade` | `boolean` | true | Fades the top and bottom edges into the page. Default true. |
| `tilt` | `boolean` | false | Lays the wall back in 3D, so the columns run on a slant into the page. Default false. |

### ParallaxWallColumn

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `speed` | `number` | 1 | How fast the column travels, as a multiplier of the designed pace (1, the default: half a pixel for each pixel of scroll), until its last card reaches the wall edge. Give the columns of one wall different speeds (0.7 to 1.8 reads well). |
| `direction` | `"down" \| "up"` | "up" | `up` (default) starts at the top and rises; `down` starts at the bottom and sinks. |
| `depth` | `number` | 0 | How far the column drifts toward the mouse at the wall edge, in px, with `pointer` on. Default 0. |
| `repeat` | `number` | 0 | How many copies of the children follow them, so a short column has room to travel. The copies are hidden from screen readers and inert (no focus, no clicks). Default 0. Keep `id`s out of copied content: a copy repeats them. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| ParallaxWall | `parallax-wall` |  |  |  |
| ParallaxWallColumn | `parallax-wall-column` |  |  |  |

## Usage

Give each column its own `speed` (0.7 to 1.8). Put controls in a solid card above the wall.

```tsx title="photo-wall.tsx"
import { ParallaxWall, ParallaxWallColumn } from "@/components/pro/effects/parallax-wall";

const COLUMNS = [
  { speed: 0.9, photos: ["/hills.webp", "/pines.webp", "/road.webp"] },
  { speed: 1.6, photos: ["/valley.webp", "/lake.webp", "/stars.webp"] },
  { speed: 1.2, photos: ["/cliff.webp", "/peaks.webp", "/sunset.webp"] },
];

export function PhotoWall() {
  return (
    <ParallaxWall className="h-[32rem]">
      {COLUMNS.map((column) => (
        <ParallaxWallColumn key={column.speed} speed={column.speed}>
          {column.photos.map((src) => (
            <img key={src} src={src} alt="" className="rounded-xl" />
          ))}
        </ParallaxWallColumn>
      ))}
    </ParallaxWall>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui-pro/parallax-wall
```

It adds 21 registry items: 20 files, 3649 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `clsx`, `motion`, `tailwind-merge`.

## Built on

- [Parallax](https://gelatinui.com/components/parallax.md)

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Parallax](https://gelatinui.com/components/parallax.md)
- [Marquee](https://gelatinui.com/components/marquee.md)
- [Image](https://gelatinui.com/components/image.md)
- [Tilt](https://gelatinui.com/components/tilt.md)

## Motion

| Part | Motion |
| --- | --- |
| Columns | none · 1:1 with the scroll, each column at its own speed until its last card |
