Patrick Xin

Unsplash Gallery Dialog

Galleries 2

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

    794
  • Vercel Notification Popover

    Vercel Notification Popover

    156
  • Morphing Dialog

    Morphing Dialog

    109
  • 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

    43
  • Animated Gallery

    Animated Gallery

    1.4K
  • Hero Section 6

    Hero Section 6

    881
  • Editorial Collage Hero

    Editorial Collage Hero

    430
  • Layout Grid

    Layout Grid

    826
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    981
  • Image Gallery

    Image Gallery

    90
  • File Upload

    File Upload

    18