Morph Lightbox
- from @tentui
An image lightbox that grows out of the thumbnail you clicked. The square crop opens up to the photo's true aspect ratio over a page-coloured scrim, slides ride native scroll snapping, and pulling the photo down shrinks it back into the cell of the photo you are on.
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 @tentui/morph-lightboxComponent source
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
