Back to Components
Components
Lightbox
Image gallery overlay with zoom and navigation controls.
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/lightbox.tsx
Installation
Using shadcn CLI
npx shadcn add lightbox --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge