
Product
Introducing Socket MCP for Claude Desktop
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
react-image-grid-gallery
Advanced tools
A simple image gallery component for displaying a grid of images in React apps
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
Using pnpm:
pnpm 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} columnWidth={300} gapSize={7} />;
}
Props | Description |
---|---|
imgArray |
Required. The
|
columnWidth |
Optional. The
|
gapSize |
Optional. The
|
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 318 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.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.
Application Security
/Security News
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.