Package Exports
- progress-tracker
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (progress-tracker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SASS Progress Tracker
A progress tracker written in SASS with flexbox to be flexible and responsive out of the box. This can be used to illustrate a multi stage process e.g. form, quiz or a timeline.
##Installation
###npm
$ npm install progress-tracker --save###bower
$ bower install progress-tracker --save##Usage Once you have downloaded the code, run the commands below to view the demo.
$ npm install
$ gulp serveYou can also just import progress-tracker.scss into your own project and modify as needed. Optional files are progress-tracker-animations.scss to add animations and progress-tracker-theme.scss for quicker theming.
Follow the code example below for basic usage, each demo sets the first two steps as complete, the third step as active and the last two steps as inactive. For additional styles add a modifier classes to the ul and add additional markup as needed in the examples.
<ul class="progress-tracker">
<li class="progress-step is-complete">
<span class="progress-marker"></span>
</li>
<li class="progress-step is-complete">
<span class="progress-marker"></span>
</li>
<li class="progress-step is-active">
<span class="progress-marker"></span>
</li>
<li class="progress-step">
<span class="progress-marker"></span>
</li>
<li class="progress-step">
<span class="progress-marker"></span>
</li>
</ul>License
MIT © Nigel O Toole