About
A thumbnail grid gallery that opens a modal lightbox viewer with keyboard-driven previous/next paging and escape-to-close.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Gallery Lightbox to your project and fits it to your theme.
Code
How Gallery Lightbox is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { GalleryLightbox } from "@/components/ui/gallery-lightbox";
export default function GalleryLightboxDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background p-8 text-foreground">
<GalleryLightbox />
</div>
);
}















