Patrick Xin

Unsplash Gallery Dialog

Galleries 3

About

An image gallery lightbox that opens each photo in a full-screen dialog with view/download stats, a share menu, and nested sign-in or sign-up dialogs for bookmarking a photo or adding it to a collection.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Unsplash Gallery Dialog to your project and fits it to your theme.

Code

How Unsplash Gallery Dialog is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import UnsplashDialog from "@/components/ui/unsplash-gallery-dialog";

export default function DialogDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center p-8">
      <UnsplashDialog />
    </div>
  );
}

Dependencies

More by Patrick Xin

View all
  • Onboarding Dialog

    Onboarding Dialog

    799
  • Vercel Notification Popover

    Vercel Notification Popover

    158
  • Morphing Dialog

    Morphing Dialog

    117
  • Expandable Dialog

    Expandable Dialog

    7
  • Autocomplete

    Autocomplete

    1
  • Team Management Dialog

    Team Management Dialog

  • Collapsible File Tree

    Collapsible File Tree

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    69
  • Animated Gallery

    Animated Gallery

    1.5K
  • Editorial Collage Hero

    Editorial Collage Hero

    464
  • Image Gallery

    Image Gallery

    128
  • Elastic Gallery

    Elastic Gallery

    986
  • About 3

    About 3

    435
  • Tilted Grid Hero

    Tilted Grid Hero

    2.1K
  • Hero Section 6

    Hero Section 6

    906