Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-progressable

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-progressable

A classic progressbar component for react.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React-Progressable

A classic progressbar component for react. Lot to come yet...

Install

npm install --save react-progressable

Usage

import React, {Component} from 'react';
import {ProgressBarClassic, ProgressCircleClassic} from "react-progressable";

class ProgressBarComponent extends Component {
    render(){
         <div>
            <ProgressBarClassic fill={80} />
            <ProgressCircleClassic fill={80} />
         </div>   
    }
}

export default ProgressBarComponent;

Progress-Bar Classic

Progress-Bar Classic

Available Props:

Prop NameProp TypeDefault ValueDescription
backgroundString#eeeeeeBackground color for un-filled area
fillNumber0Progress percentage. Max: 100
fillColorString#ff9a00Background color for filled area
fillTextStringNULLProgress-bar text to be appear in filled area
fillTextStyleObject{}React style object for fillText
heightNumber25Height of the progress-bar in px.
borderRadiusNumber0Border radius in px.
animateBooleantrueProgress-bar animation toggle
animateDurationNumber1Progress-bar animation duration in seconds
stripesBooleanfalseStripe effect on progress-bar
stripesAnimateBooleanfalseAnimate stripe effect
stripesAnimateDirectionStringleftAnimated stripe effect direction. 'right' or 'left'

Progress-Circle Classic

Progress-Circle Classic

Available Props:

Prop NameProp TypeDefault ValueDescription
backgroundString#eeeeeeBackground color for un-filled area
fillNumber0Progress percentage. Max: 100
fillColorString#ff9a00Background color for filled area
fillTextStringNULLProgress-circle text to be appear in center
fillTextStyleObject{}React style object for fillText
sizeNumber150Height and Width of the progress-circle.
ringWidthNumber7Width of the progress-circle filled area

Keywords

FAQs

Package last updated on 25 Oct 2018

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