Fullscreen Lightbox Javascript Fullscreen Lightbox React Fullscreen Lightbox Vue

React Lightbox Documentation

Learn how to use React version of Fullscreen Lightbox!

Captions

Pro feature

To display captions under slides you need to use array prop - captions. You can fill it with elements you want:

<FsLightbox
toggler={toggler}
sources={['images/first.jpg', 'images/second.jpg', 'images/third.jpg'] }
captions={[
<>
<h2>First image title</h2>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
</>,
<h2>Second image title</h2>,
'Third image caption'
]}
/>
Get connected wth us on social networks!