react-lightbox-component

    1.2.1 • Public • Published

    React lightbox component

    An image lightbox component for ReactJS. A demo can be viewed here

    Features:

    • Zoom control
    • Rotate control
    • Smooth animations
    • Customizable thumbnails

    Demo

    Demo

    Installation

    npm install react-lightbox-component

    Basic Usage

    import Lightbox from 'react-lightbox-component';
    
    const App = () => (
      <div>
        <Lightbox images={
          [
            {
              src: 'some image url',
              title: 'image title',
              description: 'image description'
            }
          ]
        }/>
      </div>
    );
    

    License

    MIT

    Install

    npm i react-lightbox-component

    DownloadsWeekly Downloads

    1,087

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    528 kB

    Total Files

    10

    Last publish

    Collaborators

    • jfcaiceo