Skip to content

mkolsv/circle-progress.vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to circle-progress.vue!

Circle Progress Bar

Hi! Highly customizable & lightweight & responsive circular progressbar component for Vue 3, built with SVG and extensively customizable.

Installation

npm install --save circle-progress.vue

Adding into app

import { CircleProgressBar } from 'circle-progress.vue';

<CircleProgressBar :value="7" :max="10" />

Props

Please write me, if you need more props :) You can customize your progress bars as you want. For example:

Props Type Description Default
max* Number Max value - (required)
value* Number Current value - (required)
size Number, String Size of the circle '124'
colorFilled String Circle color if limit exceed '#FF5533'
colorUnfilled String Circle color if limit not exceed '#3BB44A'
colorBack String Back circle color '#ECEEF1'
percentage BooleaN Show percentage false
rounded BooleaN Rounding the circle line false
animationDuration String Animation Duration '0.5s'
strokeWidth String Circle Stroke width '5px'
reversedFilling Boolean Enable reversed filling false

Other

Also you can use slots to throw your custom content. For example:

<CircleProgressBar  
  :value="20"  
  :max="80"  
  percentage  
 rounded>
{{ value }} / {{ max }}
</CircleProgressBar>

About

Highly customizable & lightweight & responsive circular progress bar component for Vue 3, built with SVG and extensively customizable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published