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

@rishikesh-janrao/spinners

v1.0.2

Published

Beautiful, customizable React spinner components for loading states and UI feedback.

Readme

React Spinners Component Library

Beautiful, customizable React spinner components for loading states and UI feedback.

Live Example

Visit https://spinners-zeta.vercel.app/

Features

  • 50+ unique spinner designs, all in one component
  • Fully configurable via props: size, color, speed, border width, etc.
  • Pure CSS animations for smooth performance
  • Typeahead search for spinner names
  • Live customization controls
  • Usage code examples for every spinner
  • No dependencies except React

Installation

npm install @rishikesh-janrao/spinners

Usage

import Spinner from '@rishikesh-janrao/spinners';

<Spinner
  type="ring"           // or 1
  size={3}              // rem
  color="#61dafb"
  speed={1}             // seconds
  borderWidth={4}       // px
/>

Props

| Prop | Type | Description | Example/Unit | |-----------------|-----------------|------------------------------------|-------------------| | type | number/string | Spinner type or name (1-50, or name from list) | 1, "ring" | | size | number | Size of spinner (rem) | 3 (rem) | | color | string | Primary color | "#61dafb" | | secondaryColor | string | Secondary color | "#fff" | | backgroundColor | string | Background color | "#282c34" | | speed | number | Animation speed (seconds) | 1 (seconds) | | borderWidth | number | Border thickness (px) | 4 (px) |

Spinner Types

You can use either a number (1-50) or a name (e.g., "ring", "dual", "dots", etc.) for the type prop. See the full list in src/data/spinnerNames.js.(visit https://spinners-zeta.vercel.app/ to get type number)

Live Demo & Customization

  • The main app (src/App.js) provides a live demo with:
    • SearchBar: Typeahead search for spinner names
    • SpinnerGrid: Displays all spinner types in a grid
    • Controls: Adjust size, speed, border, and colors
    • UsageExample: Shows code for the selected spinner

Component Structure

  • Spinner.js: Core spinner component (all logic, 50 types)
  • SpinnerGrid.js: Grid layout for all spinners
  • SpinnerCard.js: Individual spinner card
  • Controls.js: Customization controls
  • SearchBar.js: Typeahead spinner search
  • UsageExample.js: Code usage display
  • data/spinnerNames.js: List of spinner names
  • data/spinnerExamples.js: Usage code for each spinner

Styling

  • Each component has its own CSS file for modular styling.
  • All spinner animations are in Spinner.css.

How to Add New Spinners

  • Add logic to Spinner.js for the new type.
  • Add a name to spinnerNames.js.
  • Optionally, add a usage example to spinnerExamples.js.

License

MIT