Lightbox
An accessible image preview that expands from its thumbnail and returns to the same spatial origin when dismissed.

- Library
- Sona UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- @base-ui/react, motion
- Install
npx shadcn@latest add @sona-ui/lightbox- Files
src/registry/sonaui/lightbox/lightbox.tsxsrc/registry/sonaui/sona-utils/sona-utils.tssrc/lib/sona-utils.ts
- Source
- https://github.com/Dinil-Thilakarathne/sona-ui
Categories
- Image Components
- React Image Components
- Tailwind CSS Image Components
- Animated Image Components
- Lightbox Components
- React Lightbox Components
- Tailwind CSS Lightbox Components
- Media Components
- React Media Components
- Tailwind CSS Media Components
- Animated Media Components
- Overlay Components