Image gallery whose thumbnail grows into the full view and shrinks back on close; switching images sends the old one back to its thumbnail while the next grows from its own. Arrow keys and swipe change images, Escape, the scrim or a downward drag closes, focus returns to the thumbnail, and you can control the index or render custom thumbnails.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/lightbox.json"