1.0.3 • Published 3 years ago

@acodez/progressbar v1.0.3

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

@acodez/progressbar

npm_version license

React progressbar with many customizations.



Installation

npm install @acodez/progressbar

Props API

PropertyTypeRequiredDescription
progressstringyesprogress value, example 30
colorstringnocolor scheme, choose from primary, secondary, warning, success, danger, info, dark, light
typestringnochoose from normal, striped, animate, animate-striped
sizestringnosize (height) of progressbar, choose from xs, sm, md, lg
ShowProgressCountstringnowhether count need to show near to bar
CountPositionstringnoprogress count position, choose from overlay, right, left
cornerstringnoprogressbar border radius, square or rounded

Usage

import Progressbar from "@acodez/progressbar";

Basic

<Progressbar progress="70" />

Animating progressbar

<Progressbar progress="70" type="animate" />

Striped progressbar

<Progressbar progress="70" type="striped" />

Striped with animation

<Progressbar progress="70" type="animate-striped" />

With progress text

<Progressbar progress="70" ShowProgressCount />

Text position to right

<Progressbar progress="70" ShowProgressCount CountPosition="right" />

Changing the color theme

<Progressbar progress="70" color="danger" />

Changing the size - height

<Progressbar progress="70" size="lg" />

Changing the border radius

<Progressbar progress="70" corner="square" />
1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago