Gallery
Grid Gallery
A classic three-column grid of square photos, each with a caption and a short line underneath.
npx motionsnack add grid-galleryCustomize
Background
<GridGallery />Props
12 properties
| Property | Type | Default | Description |
|---|---|---|---|
| items | { image?: { src: string; alt?: string }; title?: string; description?: string; href?: string }[] | 9 sample photos | One square tile per item. An empty list shows no grid. |
| kicker | string | 'Selected work' | Small label above the headline. |
| title | string | 'Every frame
in its place' | Headline. Use \n for line breaks. |
| description | string | 'A tidy grid of recent work. Each photo sits in a square with a caption and a line underneath.' | Paragraph next to the headline. Leave empty to hide it. |
| background | string | '#000000' | Section background. |
| columns | number | 3 | Columns on a wide screen. Two on tablets, one on phones. |
| gap | number | 16 | Space between the tiles. |
| radius | number | 6 | Corner radius of the photos. |
| showCaptions | boolean | true | Show the title and description under each photo. |
| reveal | boolean | true | Fade the tiles in as they scroll into view. |
| stagger | number | 0.08 | Delay between neighbouring tiles revealing. |
| hoverZoom | number | 1.05 | How far the photo zooms on hover. 1 = none. |
About Grid Gallery
A headline and description sit above an even grid of square photos — three in a row on desktop, two on tablets and one on phones. Every photo carries a title and a line under it, can link anywhere, zooms gently on hover and rises into view as you scroll.
What's included
- Three-column square grid
- Two columns on tablets, one on phones
- Caption and description per photo
- Optional link per tile
- Scroll reveal with stagger
- Hover zoom
- Type
- Animated gallery section for Next.js
- Library
- Sections · Gallery
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add grid-gallery