Socket
Socket
Sign inDemoInstall

react-lightbox-component

Package Overview
Dependencies
14
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-lightbox-component

An image lightbox component for ReactJS


Version published
Weekly downloads
805
increased by12.9%
Maintainers
1
Install size
1.03 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 11 Jul 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc