Sections
GallerySection
Image gallery section with grid and masonry layouts, hover zoom, and captions.
Preview
Our Portfolio
Alpine Peak
Valley River
Golden Hour
Winter Summit
Forest Trail
Emerald Woods
Usage
import { GallerySection } from '@/components/sections/GallerySection'export default function Page() {return (<GallerySectiontitle="Photo Gallery"items={[{ src: '/images/photo1.jpg', alt: 'Photo 1', caption: 'Description' },{ src: '/images/photo2.jpg', alt: 'Photo 2' },]}columns={3}/>)}
Variants
Masonry Layout
Alpine Peak
Valley River
Golden Hour
Winter Summit
Forest Trail
Emerald Woods
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items* | GalleryItem[] | - | Array of { src, alt, caption?, wide?, tall? } |
title | string | - | Section heading |
description | string | - | Section subtext |
columns | 2 | 3 | 4 | 3 | Number of grid columns |
masonry | boolean | false | Use masonry column layout |
className | string | - | Extra CSS classes |