Socket
Socket
Sign inDemoInstall

react-progress-bar-plus

Package Overview
Dependencies
21
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-progress-bar-plus

Progress bar component for ReactJS.


Version published
Weekly downloads
652
decreased by-18.4%
Maintainers
2
Install size
202 kB
Created
Weekly downloads
 

Readme

Source

React Progress Bar Plus

Progress bar component for ReactJS.

Installation

NPM

npm install --save react-progress-bar-plus

Bower

bower install --save react-progress-bar-plus

Usage

JS

const ProgressBar = require('react-progress-bar-plus');

<ProgressBar percent={10}/>

CSS

Webpack:

require('react-progress-bar-plus/lib/progress-bar.css');

Without Webpack:

<link rel="stylesheet" type="text/css" href="path/to/react-progress-bar-plus/lib/progress-bar.css">

UMD

<link rel="stylesheet" type="text/css" href="path/to/react-progress-bar-plus/dist/react-progress-bar-plus.css">
<script src="path/to/react-progress-bar-plus/dist/react-progress-bar-plus.js"></script>
const ProgressBar = window.ReactProgressBarPlus;

Example here

Props

NameTypeDefaultDescription
percentnumber-1Progress percent
onTopboolfalseProgress bar will ontop & height 100%
autoIncrementboolfalseif true percent will auto increment Math.random() + 1 - Math.random()% in intervalTime ms.
intervalTimenumber200Interval time for auto increment.
spinneroneOf([false, 'left', 'right'])leftSpinner position. Pass false to hide spinner icon.
classNamestringCustom class

Example

View demo or example folder.

License

MIT Licensed. Copyright (c) Minh Tran 2016.

Keywords

FAQs

Last updated on 15 Jun 2017

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