Lightbox
Shows pictures one at a time as large as the window allows, so a person can look at a photo properly, move through the others with it and come back to where they were.
Examples
The Fenwick Rooms
4 photosUsage
Use it when
- Photos a person wants to see whole: pictures in a message, a venue's or a listing's photos.
Use something else when
- A document or a page to read beside the current one. Use Sheet instead.
- Photos to pick from in a listing, such as a venue's cover. Use MediaTile instead.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/lightbox.jsonimport { Lightbox, LightboxTrigger } from "@/components/cobalt/ui/lightbox"