Skip to content

patchkit/patchkit-stepped-progress-bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stepped Progress Bar

Component from PatchKit.

screenshot

Usage

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

3 steps:

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

4 steps:

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

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

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

Label each step:

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

Use the .less file:

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

License

GPL 3

About

React UI component for a progress bar with multiple steps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published