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 🙏

© 2026 – Pkg Stats / Ryan Hefner

wc-spinners

v1.1.1

Published

Spinner libraries implemented as native web components

Readme

Web Component Spinners

npm npm Netlify Status

Web Component implementations of

Installation

yarn add wc-spinners

OR

npm i --save wc-spinners

Usage

Javascript

  import 'wc-spinners';
  
  const spinner = document.createElement('atom-spinner');
  document.body.append(spinner);

or for a specific spinner

  import 'wc-spinners/dist/atom-spinner.js';

  const spinner = document.createElement('atom-spinner');
  document.body.append(spinner);

HTML

<body>
  <atom-spinner></atom-spinner>

  <script src="wc-spinners.js"></script>
</body>

or for a specific spinner

<body>
  <atom-spinner></atom-spinner>

  <script src="wc-spinners/dist/atom-spinner.js"></script>
</body>

Configuration

You can easily configure a spinner's display by either setting an attribute on the spinner element or by assigning a value to a corresponding css variable.

Note: When setting an attribute the unit is implied (e.g. size="60" becomes 60px automatically). If you want to change the unit type, use css variables instead (--spinner__size: 60rem)

Attributes

<atom-spinner
  color="#ff1d5e"
  duration="1"
  size="60"
></atom-spinner>

CSS Variables (CSS Custom Properties)

<style>
  atom-spinner {
    --atom-spinner__color: #ff1d5e;
    --atom-spinner__duration: 1s;
    --atom-spinner__size: 60px;
  }
</style>

<atom-spinner></atom-spinner>

Attribute list

Epic Spinners

NOTE: count is not supported by css variables

Default color: #ff1d5e

| Spinner | size | duration | count | | ---------------------------------: | :--: | :------: | :---: | | atom-spinner | 60 | 1 | | breeding-rhombus-spinner | 65 | 2 | 3 | | circles-to-rhombuses-spinner | 15 | 1.2 | | fingerprint-spinner | 64 | 1.5 | | flower-spinner | 70 | 2.5 | | fulfilling-bouncing-circle-spinner | 50 | 4 | | fulfilling-square-spinner | 50 | 4 | | half-circle-spinner | 60 | 1 | | hollow-dots-spinner | 15 | 1 | 3 | | intersecting-cirlces-spinner | 35 | 1.2 | | looping-rhombuses-spinner | 15 | 2.5 | | orbit-spinner | 55 | 1.2 | | pixel-spinner | 70 | 2 | | radar-spinner | 60 | 2 | | scaling-squares-spinner | 65 | 1.25 | | self-fulfilling-square-spinner | 10 | 6 | | semipolar-spinner | 65 | 2 | | spring-spinner | 60 | 3 | | swapping-squares-spinner | 65 | 1 | | trinity-rings-spinner | 60 | 1.5 |

React Spinners

Default color: #36d7b7

| Spinner | size | height | width | radius | margin | | -------------------: | :--: | :----: | :---: | :----: | :----: | | bar-spinner | | 4 | 100 | | | beat-spinner | 15 | | | | 2 | | bounce-spinner | 60 | | circle-spinner | 60 | | climbing-box-spinner | 15 | | clip-spinner | 35 | | dot-spinner | 60 | | fade-spinner | | 15 | 5 | 10 | | grid-spinner | 15 | | | | 2 | | hash-spinner | 50 | | moon-spinner | 60 | | pacman-spinner | 25 | | | | 2 | | propagate-spinner | 15 | | pulse-spinner | 15 | | | | 2 | | ring-spinner | 60 | | rise-spinner | 15 | | | | 2 | | rotate-spinner | 15 | | | | 5 | | scale-spinner | | 35 | 4 | 2 | 2 | | skew-spinner | 20 | | square-spinner | 50 | | sync-spinner | 15 | | | | 2 |

React Spinners CSS

Default color: #7f58af

| Spinner | size | | -------------------: | :--: | | rsc-circle-spinner | 64 | | default-spinner | 80 | | dual-ring-spinner | 80 | | ellipsis-spinner | 80 | | facebook-spinner | 80 | | rsc-grid-spinner | 80 | | heart-spinner | 80 | | hourglass-spinner | 80 | | orbitals-spinner | | | ouroboro-spinner | | | rsc-ring-spinner | 80 | | ripple-spinner | 80 | | roller-spinner | | | spinner-spinner | |

Support?

  • Star the repo :star:
  • Create pull requests

License

MIT license.