1.0.8 • Published 6 years ago

fancyprogressbar v1.0.8

Weekly downloads
9
License
MIT
Repository
-
Last release
6 years ago

FancyProgressBar

Check out the react component storybook at - https://dlucidone.github.io/fancyprogressbar.github.io

alt text

alt text

Installation

$ npm i fancyprogressbar

How to use

import FancyProgressBarComponent from "fancyprogressbar";

 <FancyProgressBarComponent
    id={"1"} // Unique if you have multiple
    gradientStartColor={"#429321"} // Gradient start color
    gradientStopColor={"#87d005"} // Gradient Stop color

    // keep both start and stop color same for one color

    innerCircleStroke={"lightgray"} // Inner circle Color
    filledPercent={78} // Percentage completed total
    textCenterValue={"70%"} // Text in center
    textCenterColor={"#000000"} // Text in center color
    textCenterStroke={0.5} // Text in center stroke
    width={"200"} // Width of progress bar
    height={"200"}  // Height of progress bar
    innerCircleStrokeWidth={"4"} // Inner circle progress bar width
    outerCircleStokeWidth={"5"} // Outer circle progress bar width
    showCentertext={false} // Center text display or not
    // camparisonProgressBar={true} // Enable comparison progress bar
    // showSubtitleCenterText={true} // Show subtitle text
    // textSubtitleCenterColor={"gray"} // subtitle color
    // innerFilledPercent={this.state.innerFilledPercent} // filled percent of inner circle
    // textSubtitleCenterValue={this.state.innerFilledPercent + "%"} // text for the inner circle
/>
1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago