jfcaiceo / react-lightbox-component

An image lightbox component for ReactJS

Home Page:http://jfcaiceo.github.io/react-lightbox-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An image lightbox component for ReactJS

http://jfcaiceo.github.io/react-lightbox-component/

License:MIT License


Languages

Language:JavaScript 93.8%Language:CSS 4.5%Language:HTML 1.6%