Skip to content

rocioferreiro/window-progress-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Window Progress Bar

Color coded Progress Bar for React.

image of bar

Table of contents

Install

npm install color-coded-progress-bar

Usage

import { WindowProgressBar } from 'color-coded-progress-bar';

<WindowProgressBar tooltip value={7} />

Options

Attribute Type Purpose Default
value Number Defines where the marker will be located. No default, is mandatory.
tooltip Boolean Indicates whether the bar will show the value on hover or not. False
label Boolean Indicates whether the bar will show the min and max values or not. False
max Number Defines the maximum value of the bar 10
colors String[] Defines the colors for each section. ['#f1a636', '#f1d836','#c8f136', '#f1d836']
sectors {min:number, max:number}[] Defines the sections. [{min:0, max:2}, {min:2, max:5}, {min:5, max:8}, {min:8, max:10}]
height Number Defines the height of the bar 20

Contributing

Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT © Rocio Ferreiro

About

Color coded progress bar that integrates easily to your React code and can represent different cycles and windowed progress

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors