
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
react-image-grid-gallery
Advanced tools
A simple image gallery component for displaying a grid of images in React apps
It's here! A simple, easy-to-use, and responsive image gallery component for displaying a grid of images in React apps.
Using npm:
npm install react-image-grid-gallery
Using yarn:
yarn add react-image-grid-gallery
import ImageGallery from "react-image-grid-gallery";
const imagesArray = [
{
alt: "Image1's alt text",
caption: "Image1's description",
src: "http://example.com/image1.jpg",
},
{
alt: "Image2's alt text",
caption: "Image2's description",
src: "http://example.com/image2.png",
},
{
alt: "Image3's alt text",
caption: "Image3's description",
src: "http://example.com/image3.webp",
},
];
function App() {
return <ImageGallery imgArray={imagesArray} />;
}
imgArray
The imgArray
props is an array of objects containing the following properties:
alt
: The image's alternative text. This property is required.caption
: A description of the image. This property is optional.src
: The URL of the image. This property is required.0.8.0 (2023-05-29)
FAQs
A simple image gallery with lightbox for displaying a grid of images in React apps
The npm package react-image-grid-gallery receives a total of 211 weekly downloads. As such, react-image-grid-gallery popularity was classified as not popular.
We found that react-image-grid-gallery demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.