Package Exports
- circle-progress.vue
Readme
Welcome to circle-progress.vue!
Hi! Highly customizable & lightweight & responsive circular progressbar component for Vue 3, built with SVG and extensively customizable.
Installation
npm install --save circle-progress.vueAdding 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 | |
|---|---|---|
| max* | Number |
Max value |
| value* | Number |
Current value. |
| colorFilled | String |
Circle color if limit exceed |
| colorUnfilled | String |
Circle color if limit not exceed |
| colorBack | String |
Back circle color |
| percentage | BooleaN |
Show percentage |
| rounded | BooleaN |
Rounding the circle line |
| animationDuration | String |
Animation Duration |
| strokeWidth | String |
Circle Stroke width |
| reversedFilling | Boolean |
Enable reversed filling |
Other
Also you can use slots to throw your custom content. For example:
<CircleProgressBar
:value="value"
:max="max"
percentage
rounded>
{{ value }} / {{ max }}
</CircleProgressBar>