Patrick Xin

Unsplash Gallery Dialog

Galleries 5

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

    807
  • Vercel Notification Popover

    Vercel Notification Popover

    164
  • Morphing Dialog

    Morphing Dialog

    129
  • Expandable Dialog

    Expandable Dialog

    10
  • Autocomplete

    Autocomplete

    2
  • Team Management Dialog

    Team Management Dialog

  • Collapsible File Tree

    Collapsible File Tree

More in Galleries

View all
  • Scattered About

    Scattered About

    10
  • Animated Gallery

    Animated Gallery

    1.5K
  • Photo Deck

    Photo Deck

    3
  • Editorial Collage Hero

    Editorial Collage Hero

    505
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Image Gallery

    Image Gallery

    130
  • Gallery Component

    Gallery Component

    5
  • Folded Card

    Folded Card

    40