Open pictures full screen from their thumbnails, with swiping & zoom, built on Base UI.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
images | LightboxImage[] | - | The pictures, as a grid of thumbnails that each open the viewer. |
| The pictures, as a grid of thumbnails that each open the viewer. | |||
columns | number | 4 | Thumbnails per row. |
| Thumbnails per row. | |||
shape | none | rounded | pill | rounded | |
className | string | - | |
focus | boolean | string | true | |
container | HTMLElement | null | - | |