# @mandala-ui/progress-bar

> Mandala UI Progress Bar Component

Latest version **1.1.1** (published 2018-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mandala-ui/progress-bar
pnpm add @mandala-ui/progress-bar
yarn add @mandala-ui/progress-bar
bun add @mandala-ui/progress-bar
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2018-04-06 |
| First published | 2018-02-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 61.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lucas K Allmon |
| Maintainers | lucaska |
| Keywords | react, css, library, components, interface, functional, OOCSS, declarative, ui, user, ux |

## Links

- npm: https://www.npmjs.com/package/@mandala-ui/progress-bar
- npm.io page: https://npm.io/package/@mandala-ui/progress-bar

## Dependencies (1)

- [lodash.clamp](https://npm.io/package/lodash.clamp.md) ^4.0.3

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2018-04-06
- 1.0.3 — 2018-03-31
- 1.0.2 — 2018-03-29
- 1.0.1 — 2018-03-12
- 1.0.0 — 2018-03-12
- 0.0.9 — 2018-03-07
- 0.0.8 — 2018-03-07
- 0.0.7 — 2018-02-01

## README

## Mandala UI ProgressBar Component
Mandala is a React component library that utilizes a declarative CSS library for styling.

### Installation
Check the [MonoRepo README](https://github.com/mandala-ui/mandala) for installation.

### Description
ProgressBar is a 100% width element that takes a percent prop and renders that much of it in another color.

### Usage
if using the whole library:
```js
import { ProgressBar } from 'mandala';
```
if only using this component:
```js
import ProgressBar from '@mandala-ui/progress-bar';
```
### Props
* `backgroundColor` - the color of the border around the dot
* `color` - the width of the border around the dot
* `large` - the color of the dot
* `percent` - the width of the inner section between the dot and border
* `pill` - the color of the inner section of the outlined dot

| propName | propType | defaultValue | isRequired |
| -------- | -------- | ------------ | ---------- |
| backgroundColor | string | null    | -          |
| color      | string | false        | -          |
| large      | boolean| 'white'      | -          |
| percent    | number | false        | -          |
| pill       | boolean| false        | -          |


#### TODO:
- [ ] prop to add/remove depth (shadow)
- [ ] borderColor adds a border of relevant color
- [ ] border width

![mandala-bottom](https://user-images.githubusercontent.com/1824267/38281372-32114e5c-375f-11e8-9fbe-e5191b96429c.png)

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