Vue Circular Progress Bars and Counters Library

VUE CIRCLE COUNTER component creates the angle, colors, stroke width, spacing between dashes, and direction can all be controlled through the properties.

circular progress bar with percentage, progress bar circle codepen, animated circular progress bar, circle progress bar js

How it works

The component creates an SVG element with default width and height of 100% (the outer diameter of the counter). Two dashed strokes are overlaid: the bottom is controlled by stroke and dashCount the top by activeStroke and activeCount. You can reverse to counterclockwise and rotate the starting angle (default is right / 3 o’clock).

How to make use of it:

Install & Download:

# npm
$ npm install vue-circle-counter

#yarn
$ yarn add vue-circle-counter

For the browser

<script src="unpkg.com/[email protected]/dist/circleCounter.umd.min.js"></script>

Properties

propdescriptiondefaultoptions
sizewidth and height of the element10remString
dashCountTotal number of dashes60Natural number
activeCountNumber of dashes on top10Natural number
strokeWidthBottom stroke as a percentage of the radius200 to 100
activeWidthTop stroke as a percentage of the radius200 to 100
strokeThe stroke color of the bottom dasheslightgreycolor
activeStrokeThe stroke color of the top dashesdodgerbluecolor
dashSpacingFraction of width taken up by space between dashes1/40 to 1
rotateDegrees rotation for start angle (0 = right)-90-360 to 360
reverseReverse the direction of counting (true = counter-clockwise)falsefalse or true
textText string to display inside SVG""String

circular progress bars and counters, vue circle counter Plugin/Github/Codepen


See Demo And Download

Official Website(snirp): Click Here

This superior jQuery/javascript plugin is developed by snirp. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…