Lightbox — Zoom
- from @astryx
- by Astryx
A lightbox with zoom and pan enabled. Double-click the image to zoom in; drag to pan around. Double-click again or use the close button to exit. Astryx replaced 2 demo media references with marked placeholders; put your own content there.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-lightbox-zoomRegistry dependencies0
The CLI adds no other registry items with this one.
