Socket
Socket
Sign inDemoInstall

ethereal-lightbox-gallery

Package Overview
Dependencies
87
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ethereal-lightbox-gallery

A responsive lightbox gallery component for React applications


Version published
Weekly downloads
3
decreased by-70%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

A customizable lightbox gallery component for React.

Installation

You can install ethereal-lightbox-gallery via npm:

npm install ethereal-lightbox-gallery

Usage

import React from 'react';
import LightboxGallery from 'ethereal-lightbox-gallery';

const images = [
  { src: 'image1.jpg', caption: 'Image 1' },
  { src: 'image2.jpg', caption: 'Image 2' },
  { src: 'image3.jpg', caption: 'Image 3' },
];

function App() {
  return <LightboxGallery images={images} />;
}

export default App;

Props

  • images (required): An array of objects representing images to display in the gallery.
    • src (required): The URL of the image.
    • caption (optional): The caption for the image.

Keywords

FAQs

Last updated on 17 Apr 2024

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