0.0.4 • Published 5 years ago

hc-progress-bar v0.0.4

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

hc-progress-bar

Installation

npm i @haftcinco/hc-progress-bar

Module

import progress-bar from "@haftcinco/hc-progress-bar"

props

  1. progress Value
    1. Backgrounds
    2. 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
typeString
defaultwarning
requiredfalse

active

you can active or deactivate bar | || |----------------|-------------------------------| |type|Boolean|
|default|true|
|required|false|


height

You can set your bar height as well

heightclass
5pxhc-progress.progress-xs
10pxhc-progress.progress-sm
15pxhc-progress.progress-md
20pxhc-progress.progress-lg
25pxhc-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.