Skip to main content

Lightbox

Open pictures full screen from their thumbnails, with swiping & zoom, built on Base UI.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
imagesLightboxImage[]-The pictures, as a grid of thumbnails that each open the viewer.
The pictures, as a grid of thumbnails that each open the viewer.
columnsnumber4Thumbnails per row.
Thumbnails per row.
shapenone | rounded | pillrounded
classNamestring-
focusboolean | stringtrue
containerHTMLElement | null-