MediaViewer.
Image/video gallery with accessible modal lightbox, zoom and navigation.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
items | MediaItem[] | Yes | — | — | Image/video items with id, src, alt, optional caption and type. |
label | string | No | Media gallery | — | Accessible gallery and dialog name. |
className | string | No | — | — | Additional CSS class on the outer component element. |