New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-slidez

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-slidez

React Slideshow Component

  • 0.0.3
  • npm
  • Socket score

Version published
Weekly downloads
213
increased by28.31%
Maintainers
1
Weekly downloads
 
Created
Source

React Slidez

Customisable React Slideshow component.

Demo

Live demo: pau1fitz.github.io/slideshow

Installation

The easiest way to use react-slidezz is to install it from NPM and include it in your own React build process (using Browserify, Webpack, etc).

You can also use the standalone build by including dist/react-slidezz.js in your page. If you use this, make sure you have already included React, and it is available as a global variable.

npm install react-slidez --save

Usage

var Slideshow = require('react-slidezz');

<Slideshow
  showIndex
  showArrows
  autoplay
  slideInterval={2000}
  slides=['1.jpg', '2.jpg']
  effect={'fade'}
  height={'100%'}
  width={'100%'}
/>

Properties

PropertyDescriptionType
showIndexShow the index of the current slideBoolean
showArrowsShow arrows to navigate through the slidesBoolean
autoplaySelect whether you want the slideshow to autoplay or notBoolean
slideInterval={2000}Dictate the speed in ms at which the slides changeInteger
slides={slides}The slides you pass into the componentArray
effectChoose the animation effect of your slideshow. Options include fade, left, top, rightString
heightChoose the height of the slideshow. Example height={'50px'} or height={'50%'}String
widthChoose the width of the slideshow. Example width={'50px'} or width={'50%'}String

hich will also watch the component source), run npm start. If you just want to watch changes to src and rebuild lib, run npm run watch (this is useful if you are working with npm link).

License

MIT License

Copyright (c) 2017 Paul Fitzgerald.

FAQs

Package last updated on 01 Aug 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc