Lightbox — Gallery
- from @astryx
- by Astryx
A thumbnail grid that opens a fullscreen gallery. Clicking any thumbnail opens the lightbox at that index. Prev/next navigation lets users browse all images without closing. Astryx replaced 4 demo media references with marked placeholders; put your own content there.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-lightbox-galleryRegistry dependencies0
The CLI adds no other registry items with this one.
