vue-doughnut-progress

An animated responsive circular progress for Vue 3
37,546
Install
npm install vue-doughnut-progress
Latest Version:1.0.7
Vue:3
License:MIT
Last Updated:May 29, 2022
Links: npm
Maintainer: bizhan.he1996

vue-doughnut-progress

An animated responsive Circular Progress Bar for Vue 3

Demo

A demo of the package is available HERE

Getting started

  1. Install it using npm:
npm i vue-doughnut-progress
  1. Import it into your vue file:
import VueDoughnutProgress from 'vue-doughnut-progress';
  1. Register it (Locally or Globally)
components: {
    VueDoughnutProgress
}
  1. Add it to your template with the properties:
<VueDoughnutProgress
    radius="50"
    thickness="5"
    color="red"
    percent="23"
    :text="{
        text:'<p style=`text-align:center`>Doughnut<br/>Progress</p>',
        bold: true,
        size: 14
    }" 
/>

Properties

name type map description
radius Integer radius of the progress circle, no need to add px
thickness Integer thickness of circle, no need to add px
color String color of progress, could be a color name or a HEX color code
percent Integer an integer ranging from 0 to 100, no need to add %
text Object {text: String,bold: Boolean,size: Integer} An object with properties about the text inside the progress circle text: the text inside the progress cirlce, could be simple string or HTML bold: whether the text inside the circle is bold or not, either true or false size: font-size of the text inside the circle, no need to add px

Related Packages

vue3-progress

A vue3 component of progress bar.

33,840 29
vue-progress-circle

Circle progress component for vue 3

11,951 3
vue-multiple-progress

Vue-based progress component

11,082 138
vue3-progress-bar

A vue3 component of progress bar.

2,471
slidev-component-progress

Progress component for Slidev

1,858 24

Version History

Version Released License
1.0.7 MIT
1.0.6 MIT
1.0.5 MIT
1.0.4
1.0.3