# patchkit-stepped-progress-bar

> React UI component for a progress bar with multiple steps

Latest version **1.0.4** (published 2016-03-31) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install patchkit-stepped-progress-bar
pnpm add patchkit-stepped-progress-bar
yarn add patchkit-stepped-progress-bar
bun add patchkit-stepped-progress-bar
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2016-03-31 |
| First published | 2016-03-30 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Paul Frazee |
| Maintainers | pfraze |
| Keywords | react, ui, component, progress, bar |

## Links

- npm: https://www.npmjs.com/package/patchkit-stepped-progress-bar
- Repository: https://github.com/patchkit/patchkit-stepped-progress-bar
- Homepage: https://github.com/patchkit/patchkit-stepped-progress-bar#readme
- Issues: https://github.com/patchkit/patchkit-stepped-progress-bar/issues
- npm.io page: https://npm.io/package/patchkit-stepped-progress-bar

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^0.14.6
- [classnames](https://npm.io/package/classnames.md) ^2.2.3

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2016-03-31
- 1.0.3 — 2016-03-31
- 1.0.2 — 2016-03-30
- 1.0.1 — 2016-03-30
- 1.0.0 — 2016-03-30

## README

# Stepped Progress Bar

Component from [PatchKit](https://github.com/ssbc/patchkit).

![screenshot](screenshot.png)

## Usage

```jsx
import SteppedProgressBar from 'patchkit-stepped-progress-bar'
```

3 steps:

```jsx
<SteppedProgressBar num={3} current={0} />
```

4 steps:

```jsx
<SteppedProgressBar num={4} current={0} />
```

Add the ability to click on past steps, to jump back:

```jsx
const onGotoStep = step => console.log('Going back to step', step)
<SteppedProgressBar num={3} current={0} canGoBack onClick={onGotoStep} />
```

Label each step:

```jsx
<SteppedProgressBar labels={['first', 'second', 'third', 'fourth']} />
```

Use the .less file:

```less
@import "node_modules/patchkit-stepped-progress-bar/styles.less"
```

## License

GPL 3

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