1.0.0 • Published 4 years ago

shapla-progress-bar v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Shapla Progress Bar

A custom progress bar featuring support for stacked bars, animated backgrounds, and text labels.

Table of contents

Installation

npm install --save shapla-progress-bar

Usage

Add the component:

import progressBar from 'shapla-progress-bar';

export default {
  name: 'Hello',

  components: {
    progressBar
  }
}
<progress-bar :value="1" :max="10" :striped="true" :animated="true" size="small" theme="primary"/>

Props

PropertyTypeRequiredDefaultDescription
valueNumberno | Current progress value
maxNumberno1Max progress value
labelStringno | Label text
stripedBooleannofalseSet true to display stripped design
animatedBooleannofalseSet true to display stripped animation
sizeStringnodefaultProgress bar height. Value can be tiny, small, medium, large
themeStringnodefaultProgress bar color theme. Value can be primary, secondary