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

    797
  • Vercel Notification Popover

    Vercel Notification Popover

    157
  • Morphing Dialog

    Morphing Dialog

    115
  • 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
  • Animated Gallery

    Animated Gallery

    1.5K
  • Editorial Collage Hero

    Editorial Collage Hero

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