An image lightbox component for ReactJS. A demo can be viewed here
Features:
- Zoom control
- Rotate control
- Smooth animations
- Customizable thumbnails
npm install react-lightbox-component
var Lightbox = require('react-lightbox-component').Lightbox;
var LightboxView = React.createClass({
render: function() {
var images = [
{
src: 'some image url',
title: 'image title',
description: 'image description'
}
];
return (
<Lightbox images={images} />
);
},
});
MIT