Skip to content

A simple carousel-style gallery designed for showcasing your cherished images.

License

Notifications You must be signed in to change notification settings

daweifeng/react-simple-gallery

Repository files navigation

React Simple Gallery

This simple carousel-style gallery is designed for showcasing your cherished images.

Demo Screenshot

Install

npm install react-simple-gallery

How to use

In your react file,

import React from "react"
import { ImageSlider } from "react-simple-gallery"
import "react-simple-gallery/dist/index.css"

function demoComponent = (props) => {
  const data =[
    { title: "Image Title", src="url/to/your/Image" },
    { title: "Image Title", src="url/to/your/Image" },
  ]
  return (
    <div>
      <ImageSlider data={data} />
    </div>
  )
}

Development

npm install

About

A simple carousel-style gallery designed for showcasing your cherished images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published