npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

percentify-circle

v1.1.1

Published

Pure CSS3 Percentage Circle with icons and custom content support

Downloads

11

Readme

P e r c e n t i f y

Pure CSS3 Percentage Circle with icons and custom content support

Run Examples

Download repository

$ git clone https://github.com/pradeep1991singh/percentify.git

Run

$ cd percentify
$ yarn install
$ npm run start

Usage

Copy/Paste dist folder in your project And then add css file in head tag of html file

<link rel="stylesheet" href="dist/percentify.css">

Then add Percentage Circle template

<!-- 	With Android Icon -->
<div class="percentify p33 cfs100 orange active">
	<span class="android-icon ifs25"></span>
	<div class="slice">
		<div class="bar"></div>
		<div class="fill"></div>
	</div>
</div>

<!-- 	With Custom text -->
<div class="percentify p80 cfs200 thinner hover active">
	<span class="text ifs50">80%</span>
	<div class="slice">
		<div class="bar"></div>
		<div class="fill"></div>
	</div>
</div>

<!-- 	Template details 

	percentify: will define percentage main element
	p33: percentage of circle need to fill i.e. 33%
	cfs100: circle size i.e. 100px, range 12px-500px
	orange: orange theme
	thinner: border size, available thin, thinner or by default normal
	hover: for hover effects
	active: make circle inner content active 
					i.e. as theme is orange it will make inner content color orange
	android-icon: android icon class name
	ifs25: icon size i.e. 25px, range 12px-500px
	text: custom text class name
-->

Percentage Counter Circle Example

<script src="/dist/percentage-counter.js"></script>
<script src="/dist/scripts/percentage-counter.js"></script>
<div class="percentify p0 cfs400 green">
	<span class="text ifs100">0%</span>
	<div class="slice">
		<div class="bar"></div>
		<div class="fill"></div>
	</div>
</div>
<label for="example-android-icon" class="label label-example">
	<code>Percentage Progress Circle</code>
</label>
<script>
	window.onload = function () {
		percentify.percentageCounter({});
	};
</script>

Demo

Demo Examples