1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Lightbox

Lightbox

block

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"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/lightbox.tsx