Gallery
Marquee Wall
Rows of rounded photos in their own proportions drift endlessly in opposite directions and fade out at the edges.
npx motionsnack add marquee-wallCustomize
Background
<MarqueeWall />Props
19 properties
| Property | Type | Default | Description |
|---|---|---|---|
| items | { image?: { src: string; alt?: string }; title?: string }[] | 18 sample photos | Photos are dealt into the rows in turn and keep their own proportions. |
| buttonColor | string | light/dark class | Colour of the button. |
| buttonTextColor | string | light/dark class | Text colour of the button. |
| buttonRadius | number | light/dark class | Corner radius of the button, in px. Fully round when not set. |
| kicker | string | 'Gallery' | Small label above the headline. |
| title | string | 'A wall of work
that never stops' | Headline. Use \n for line breaks. |
| description | string | 'Rows of photos drift past in their own proportions. Hover to slow the wall down and see what each one is.' | Paragraph next to the headline. Leave empty to hide it. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Section background. |
| rows | number | 3 | Number of rows. |
| rowHeight | number | 220 | Height of a row on a wide screen. Photo widths follow their proportions. |
| gap | number | 14 | Space between the photos. |
| radius | number | 22 | Corner radius of the photos. |
| speed | number | 28 | Drift speed. 0 keeps the wall still. |
| alternate | boolean | true | Neighbouring rows run in opposite directions. |
| pauseOnHover | boolean | true | Slow to a stop while the pointer is on the wall. |
| edgeFade | number | 18 | Share of the width that fades out at each side. |
| hoverZoom | number | 1.04 | How far a photo zooms on hover. 1 = none. |
| showLabels | boolean | true | Show the photo's label on hover. |
About Marquee Wall
A headline sits above a wall of photos in three rows. Each row has a fixed height and every photo keeps the proportions it was uploaded with, so nothing is cropped to a square. The rows loop endlessly, neighbours in opposite directions, and melt into the background at both sides. Hover the wall and it eases to a stop, the photo under the pointer zooms in and shows its label.
What's included
- Endless rows in opposite directions
- Photos keep their own aspect ratio
- Soft fade at both edges
- Eases to a stop on hover
- Hover label and zoom
- Optional button
- Type
- Animated gallery section for Next.js
- Library
- Sections · Gallery
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add marquee-wall