Socket
Socket
Sign inDemoInstall

react-carousel-dots

Package Overview
Dependencies
282
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-carousel-dots

This component provides a pagination method with dots for any amount of images/slides.


Version published
Maintainers
1
Weekly downloads
4,424
decreased by-7.72%

Weekly downloads

Readme

Source

This component provides a pagination method with dots for any amount of images/slides.

Quickstart

npm install --save react-carousel-dots

The minimum amount of code to make it work:

import Dots from 'react-carousel-dots';

<Dots length={10} active={0} />

Props

NameDefault valueDescription
length-Required. The amount of dots you want to use.
active-Required. The index of the currently active dot.
visible5Optional. The amount of dots visible on mount.
size16Optional. The width and height of a dot.
margin1Optional. The right- and left-margin of a dot.
className-Optional. This class will be added to the holder div.

Keywords

FAQs

Last updated on 03 May 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc