1.0.15 • Published 5 years ago

customizable-progress-bar v1.0.15

Weekly downloads
8
License
MIT
Repository
-
Last release
5 years ago

Customizable Progress Bar

A completely customizable progress bar, with animation.

Example progress bar image

Installation

npm i --save customizable-progress-bar

Import

import ProgressBar from "customizable-progress-bar";

Usage

The values given to props in the example below, are also the default parameters.

import ProgressBar from "customizable-progress-bar";

const ProgressBarComponent = () => {
  return (
    <div style={{ padding: 50, width: 400 }}>
      <ProgressBar
        slideIn={true} //Possible values true, false
        barHeight={30} //Possible value any number
        labelSize={"medium"} //Possible any number or small, medium, large, x-large, xx-large ...
        activeBackColor={"#007bff"} //Possible value any string (color code)
        disabledBackColor={"#cccccc"} //Possible value any string (color code)
        striped={false} //Possible values true, false
        animated={false} //Possible values true, false
        labelColor={"#ffffff"} //Possible value any string (color code)
        borderRadius={0} //Possible value any number
        minValue={0} //Possible value any number
        currentValue={50} //Possible value any number
        maxValue={100} //Possible value any number
        showLabel={true} //Possible values true, false
      />
    </div>
  );
};

export default ProgressBarComponent;

Author

Bhavya Mehta – @LinkedIn

Mail Id - @Gmail

Git Hub - @GitHub

Distributed under the MIT license. See LICENSE for more information.

1.0.15

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago