A react component for slideshow supporting slide, fade and zoom
A react component for slideshow supporting slide, fade and zoom
A simple slideshow component built with react that supports slide, fade and zoom effects. For full documentation click here
npm install react-slideshow-image -Syarn add react-slideshow-imageYou need to import the css style, you can do that by adding to the js file
import 'react-slideshow-image/dist/styles.css'
or to your css file
@import "react-slideshow-image/dist/styles.css";
You can use three different effects of the slideshow. Check examples
You can use this playground to tweak some values
…You can use this playground to tweak some values
…You can use this playground to tweak some values
import React from 'react';
import { Zoom } from 'react-slideshow-image';
import 'react-slideshow-image/dist/styles.css'
const images = [
'images/slide_2.jpg',
'images/slide_3.jpg',
'images/slide_4.jpg',
'images/slide_5.jpg',
'images/slide_6.jpg',
'images/slide_7.jpg'
];
const Slideshow = () => {
return (
)
}If you want to run the app in development mode, you can run npm start to build the file in watch mode or npm build and then npm pack if you want to use it as a module in another project on your laptop.
To run the storybook just run npm run storybook
No open issues yet, or sync has not completed.