gallery.tsx

src/components/gallery.tsx
import clsx from 'clsx'
import React, { Children, isValidElement } from 'react'
import imageMeta from '@/../_data/_studio.json'
import { LightboxWrapper } from '@/components/lightbox-wrapper'
export interface GalleryProps {
columns?: number
className?: string
children: React.ReactNode
/** Gallery alignment - controls max width */
align?: 'none' | 'wide' | 'content'
}
type ImageSize = 'small' | 'medium' | 'large' | 'full'
interface Dimensions {
w: number
h: number
}

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC