MediaViewer
Media

MediaViewer.

Image/video gallery with accessible modal lightbox, zoom and navigation.

Real interactive component
Live demo

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.

3 props
ParameterTypeRequiredDefaultPossible valuesDescription
itemsMediaItem[]Yes——Image/video items with id, src, alt, optional caption and type.
labelstringNoMedia gallery—Accessible gallery and dialog name.
classNamestringNo——Additional CSS class on the outer component element.