f0rextasy

Gallery Lightbox

Galleries

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>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    10
  • Stamp Seal

    Stamp Seal

    7
  • Network Graph

    Network Graph

    7
  • Board Checklist

    Board Checklist

    5
  • Empty State Card

    Empty State Card

    3
  • Running Order Timeline

    Running Order Timeline

    3
  • Invite Modal

    Invite Modal

    3
  • Time Input

    Time Input

    3

More in Galleries

View all
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Animated Gallery

    Animated Gallery

    1.5K
  • Image Gallery

    Image Gallery

    1.4K
  • Thumbnail image viewer

    Thumbnail image viewer

    64
  • Elastic Gallery

    Elastic Gallery

    958
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    1K
  • Img Sphere

    Img Sphere

    2.1K
  • Shared Element Gallery

    Shared Element Gallery

    446