0.0.4 • Published 6 years ago
hc-progress-bar v0.0.4
hc-progress-bar
Installation
npm i @haftcinco/hc-progress-barModule
import progress-bar from "@haftcinco/hc-progress-bar"props
- progress Value
- Backgrounds
- active or deactivate
progress Value
It specifies filling percentage of the bar
| ||
|----------------|-------------------------------|
|type|Number|
|default|0|
|required|true|
Backgrounds
this bar consists the following:
- warning
- danger
- success
- info
| type | String |
| default | warning |
| required | false |
active
you can active or deactivate bar
| ||
|----------------|-------------------------------|
|type|Boolean|
|default|true|
|required|false|
height
You can set your bar height as well
| height | class |
|---|---|
| 5px | hc-progress.progress-xs |
| 10px | hc-progress.progress-sm |
| 15px | hc-progress.progress-md |
| 20px | hc-progress.progress-lg |
| 25px | hc-progress.progress-xl |
Striped
Add .hc-progress-bar-striped to any .hc-progress-bar to apply a stripe via CSS gradient over the progress bar’s background color.
0.0.4
6 years ago