You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

vue-doughnut-progress

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-doughnut-progress

An animated responsive circular progress for Vue 3

1.0.7
latest
83

Supply Chain Security

100

Vulnerability

84

Quality

82

Maintenance

100

License

Version published
Weekly downloads
587
-2.49%
Maintainers
1
Weekly downloads
 
Created

vue-doughnut-progress

An animated responsive Circular Progress Bar for Vue 3

Demo

A demo of the package is available HERE

Getting started

  • Install it using npm:
npm i vue-doughnut-progress
  • Import it into your vue file:
import VueDoughnutProgress from 'vue-doughnut-progress';
  • Register it (Locally or Globally)
components: {
    VueDoughnutProgress
}
  • 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

nametypemapdescription
radiusIntegerradius of the progress circle, no need to add px
thicknessIntegerthickness of circle, no need to add px
colorStringcolor of progress, could be a color name or a HEX color code
percentIntegeran integer ranging from 0 to 100, no need to add %
textObject{
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

FAQs

Package last updated on 29 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts