Progress

The progress bars from Bootstrap hold the same classes and functionality. Adding this kit over your existing project will only make it look more clean and minimal.


To use the custom radio buttons you need to import the custom made component:
import {Progress} from 'src/components'

Global usage

Vue.component(Progress.name)

For local usage

export default {
  components: {
    [Progress.name]: Progress
  }
}

Simple

<template>
 <div class="row">
  <div class="col-12">
  <p-progress :value="60"></p-progress>
</div>
 </div>
</template>

<script>
  export default {}
</script>

Colors

<template>
 <div>
  <p-progress :value="60" type="info"></p-progress>
  <p-progress :value="60" type="success"></p-progress>
  <p-progress :value="60" type="danger"></p-progress>
  <p-progress :value="60" type="warning"></p-progress>
  <p-progress :value="60" type="primary"></p-progress>
 </div>
</template>

<script>
  export default {}
</script>
<style>
 .progress{
   margin-top: 20px;
  }
</style>

With text

<template>
 <div style="height: 40px;">
  <p-progress :value="60" type="danger" show-value></p-progress>
 </div>
</template>

<script>
  export default {}
</script>
<style>
 .progress{
   margin-top: 20px;
  }
</style>

With custom slot

Almost done
<template>
 <div>
  <p-progress :value="90" type="success" :height="15">
    Almost done
  </p-progress>
 </div>
</template>

<script>
  export default {}
</script>
<style>
 .progress{
   margin-top: 20px;
  }
</style>

Progress Props

Slots

NameDescription
labelProgress badge/label content
defaultDefault content for progress text