---
title: "Concave Wall Gallery"
description: "A curved wall of pictures that bends around the viewer. Use it as a hero for a portfolio, a shop, or a launch page."
url: https://gelatinui.com/components/concave-wall-gallery
markdown_url: https://gelatinui.com/components/concave-wall-gallery.md
access: free
install: "npx shadcn@latest add @gelatin-ui/concave-wall-gallery"
registry_item: https://gelatinui.com/r/concave-wall-gallery.json
version: "2026-11-24"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Concave Wall Gallery

> A curved wall of pictures that bends around the viewer. Use it as a hero for a portfolio, a shop, or a launch page.

Page: https://gelatinui.com/components/concave-wall-gallery

## When to use it

Best for: A hero of photos where the viewer stands inside a wide, curved wall of pictures.

- Use `curve` for how strong the curve is: 2 halves the radius.
- Use `finish="clean"` to drop the color streak on the side cards; the default is `smear`.

## When not to use it

- For a sphere of pictures to look around in, use [Dome Gallery](https://gelatinui.com/components/dome-gallery.md).
- For a hall of pictures to walk through, use [Corridor Gallery](https://gelatinui.com/components/corridor-gallery.md).

## Notes for agents

- Each item needs `id`, `src`, `alt`, `title`, `meta`, and `text`. The caption shows `title` and `meta` of the front card.
- The root is a flex column, and the stage fills the rest of it: give the root a height, or give the stage one.
- With no WebGL, or with `renderer="css"`, the cards draw flat in CSS 3D. A cross-origin picture needs CORS headers.
- The pictures load when the gallery comes near the view, and it stops off screen.
- `drift` moves the cards at rest. `drive` takes a Motion value in cards (scroll or time); then the hand no longer moves it, and a drag stays with the page.
- `budget` (default 60) is the number of cards; it rounds up to whole copies of `items`.

## Anatomy

```text
ConcaveWallGallery
```

## API reference

### ConcaveWallGallery

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `items` | `readonly Readonly` |  |  |
| `drive` | `MotionValue<number>` |  | Moves the look from a value, in cards: 1.5 is halfway from card 1 to card 2. Use it for scroll or time. The hand no longer moves the look, and a drag stays with the page. |
| `finishes` | `readonly Readonly` |  | The finishes `finish` may switch between. The shaders hold all of them, so a switch fades and never builds the program again. A look item that offers a choice passes its choices. |
| `budget` | `number` |  | The number of cards in the look. It rounds up to whole copies of the items. |
| `cardAspect` | `number` |  | Card width / card height. Default: the one the look was made for. |
| `drift` | `number` |  | Cards per second while nobody touches the gallery. |
| `renderer` | `"auto" \| "css"` |  | `css` forces flat cards, as a page with no WebGL gets. |
| `cardScale` | `number` | 0.76 | The size of the prints on the wall. |
| `gap` | `number` | 0.12 | The space between the prints, as a share of a print. |
| `curve` | `number` | 1 | How deep the wall bows away from you: 2 bows it twice as much. |
| `finish` | `"clean" \| "smear"` | "smear" | The surface of the prints in motion: `smear` adds streaks of color at the sides, `clean` keeps them plain. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| ConcaveWallGallery | `concave-wall-gallery` |  |  |  |

## Usage

Pass the cards as `items`, then place the stage and the caption parts. Give the root a height.

```tsx title="concave-wall-places.tsx"
import { ConcaveWallGallery, ConcaveWallGalleryCaption, ConcaveWallGalleryMeta, ConcaveWallGalleryNext, ConcaveWallGalleryPrevious, ConcaveWallGalleryStage, ConcaveWallGalleryTitle } from "@/components/effects/concave-wall-gallery";

const PLACES = [
  { id: "above-the-clouds", title: "Above the Clouds", meta: "Alps, 3,100 m", text: "A dawn walk along the ridge, with the valley asleep below.",
    src: "/example-assets/mountains-above-clouds-4x5.webp", alt: "Mountain peaks above a sea of clouds at dawn" },
  { id: "night-city", title: "Night City", meta: "Osaka, 11 pm", text: "Wet streets, neon signs, and the last train over the river.",
    src: "/example-assets/night-city-4x5.webp", alt: "A city street at night with neon signs" },
  { id: "blossom-pond", title: "Blossom Pond", meta: "Kyoto, April", text: "Petals drift over still water for one short week each year.",
    src: "/example-assets/cherry-blossom-pond-4x5.webp", alt: "Cherry blossoms over a still pond" },
  { id: "desert-road", title: "Desert Road", meta: "Utah, Route 163", text: "A straight line to the horizon and nothing to hurry for.",
    src: "/example-assets/desert-road-4x5.webp", alt: "A straight desert road to the horizon" },
];

export function PlacesGallery() {
  return (
    <ConcaveWallGallery items={PLACES} className="h-[560px]">
      <ConcaveWallGalleryStage />
      <ConcaveWallGalleryCaption className="px-4 pb-4">
        <div className="min-w-0">
          <ConcaveWallGalleryTitle />
          <ConcaveWallGalleryMeta />
        </div>
        <div className="flex shrink-0 gap-2">
          <ConcaveWallGalleryPrevious />
          <ConcaveWallGalleryNext />
        </div>
      </ConcaveWallGalleryCaption>
    </ConcaveWallGallery>
  );
}
```

## 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/concave-wall-gallery
```

It adds 46 registry items: 42 files, 8419 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `@phosphor-icons/react`, `@unpic/core`, `@xstate/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`, `xstate`.

## 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

- [Dome Gallery](https://gelatinui.com/components/dome-gallery.md)
- [Corridor Gallery](https://gelatinui.com/components/corridor-gallery.md)
- [Hourglass Gallery](https://gelatinui.com/components/hourglass-gallery.md)

## Keyboard

| Keys | Action |
| --- | --- |
| Tab | Moves focus to the stage. The focus ring shows on the front card. |
| ← → | Moves to the card before or after. The arrows swap in a right-to-left page. |
| Home, End | Moves to the first or the last card. |

## Motion

| Part | Motion |
| --- | --- |
| Move | glide · Previous, Next, and the arrow keys move one card in about 0.46s; a far card takes up to 0.86s |
| Throw | glide · a drag release lands where the cards would be 320ms later, on the nearest card |
| Rest | progress · with `drift`, the cards move on their own, in cards a second; after a touch the drift waits 5s and eases back in |
