# ms-react-progress-bar

> Simple React Progress Bar Component

Latest version **1.1.1** (published 2022-03-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install ms-react-progress-bar
pnpm add ms-react-progress-bar
yarn add ms-react-progress-bar
bun add ms-react-progress-bar
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2022-03-20 |
| First published | 2022-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 53.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shadrack Ankomahene |
| Maintainers | mistershadrack |
| Keywords | react, progress, progress bar, loader, loading |

## Links

- npm: https://www.npmjs.com/package/ms-react-progress-bar
- Repository: https://github.com/Ankomahene/ms-react-progress-bar
- Homepage: https://ankomahene.github.io/ms_react-progress-bar/
- Issues: https://github.com/Ankomahene/ms-react-progress-bar/issues
- npm.io page: https://npm.io/package/ms-react-progress-bar

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2022-03-20
- 1.1.0 — 2022-03-19
- 1.0.5 — 2022-03-17
- 1.0.4 — 2022-03-16
- 1.0.3 — 2022-03-14
- 1.0.2 — 2022-03-14
- 1.0.1 — 2022-03-13
- 1.0.0 — 2022-03-13

## README

# MS REACT PROGRESS BAR

🎉 Standalone Customizable React Progress bar
![NPM Downloads](https://img.shields.io/npm/dw/:ms-react-progress-bar)
![NPM License](https://img.shields.io/npm/l/:ms-react-progress-bar)

![ms-react-progress](https://user-images.githubusercontent.com/40831389/158510180-fd318ed2-62a9-438e-85d2-1866221a1e34.gif)

## Installation

```bash
npm install --save ms-react-progress-bar
yarn add ms-react-progress-bar
```

## Features

- Easy to set up
- Super easy to customize
- You can control the progress bar
- Set your own maximum percentage
- And much more !

## Basic Usage

```jsx
  import React from 'react';

  import { ProgressBar } from 'ms-react-progress-bar';
  import 'ms-react-progress-bar/dist/ProgressBar.css';
  
  function App(){

    return (
      <div>
        <ProgressBar value={40} />
      </div>
    );
  }
```

## Adding Options

```jsx
  import React from 'react';
  import { ProgressBar } from 'ms-react-progress-bar';
  import 'ms-react-progress-bar/dist/ProgressBar.css';
  
  function App(){
      const options = {
          height: "30px",
          borderRadius: "20px",
          labelSize: "14px",
          barColor: "#2c43ac",
          containerColor: "#dddddd",
          containerStyle: "border",
          stripeAnimation: true,
          stripeAnimationDuration: '20s',
          type: "striped",
      }
      return (
          <div>
              <ProgressBar value={80} options={options} />
          </div>
      );
  }
```

## Demo

[Examples](https://ankomahene.github.io/ms_react-progress-bar/)

## Documentation

[Getting Started Guide](https://ankomahene.github.io/ms_react-progress-bar/)

## Props

| Props      | Description                                      | Default  |
| :---       |    :----                                         | :---     |
| value      | Number in percentage showing current progress    | 0        |
| options    | Progress Bar Options to help you customize       | 0        |

## Options

| Option         | Description                                                         | Default        |
| :---           |    :----                                                            | :---           |
|type            |	Specify the type of progress bar. you can choose between regular, striped | regular |
|maxValue        |	Maximum value in percentage showing end of progress. (number)      | 100            |
|height          |	Height of Progress Bar in px	                                     | 15px           |
|borderRadius    |	The border radius of progress Bar in px	                           | 10px           |
|barColor        |	The hex color of the inner bar which show the current progress	   | #2c43ac        |
|stripeAnimation |	Toggle striped animation on and off. should set type as "striped"	 | false          |
|stripeAnimationDuration |	Duration of stripe animation in seconds	                   | 10s            |
|containerStyle  |	Style of the outer container you can choose between bg,border,none | bg             |
|containerColor  |	Color of the outer container	                                     | #dddddd        |
|labelAlignment  |	The alignment of the label choose between left, center, right	     | left           |
|labelSize       |	Font size of label	                                               | 12px           |
|labelVisibility |	Toggle label on or off	                                           | true           |
|labelColor      |	Color of label	                                                   | white          |
|customLabel     |	Add your own custom label                                          |	              |


## License

Licensed under MIT

---
_Source: https://npm.io/package/ms-react-progress-bar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
