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

loading-screens

v1.0.0

Published

A modern collection of customizable React loading screen components built with Vite.

Readme

🔄 loading-screens

A lightweight React component library that provides beautiful and customizable loading screen animations. Perfect for enhancing the UX of your web applications.


📦 Installation

npm install loading-screens

or

yarn add loading-screens

🚀 Usage

Import the components and global styles into your app:

import 'loading-screens/dist/loading-screens.css';
import { Jumping, Box, Spinner, Coin, PulseRingLoader } from 'loading-screens';

🧩 Components & Props

1. <Jumping />

Animated jumping bars loader with optional text.

<Jumping size={40} color="#5b21b6, #3b82f6" text="Loading..." />

| Prop | Type | Default | Description | |--------|----------|----------------------|----------------------------------| | size | number | 30 | Height of each jumping bar | | color| string | "#5b21b6, #3b82f6" | Bar color or gradient | | text | string | "LOADING" | Text below the loader |


2. <Box />

Grid-style bouncing boxes loader.

<Box 
  colors={['#ff4d4d', '#ff944d', '#ffd24d', '#d2ff4d', '#4dff88']} 
  background="#1a1a1a" 
/>

| Prop | Type | Default | Description | |-------------|------------|----------------------------------------------|--------------------------------------| | colors | string[] | ["#d2afff", "#d8b9ff", ...] | List of 5 box colors | | background| string | "#242424" | Background color of the loader |


3. <Spinner />

Circular spinner using a conic-gradient.

<Spinner 
  width="70px" 
  height="70px" 
  colors={['#ff6b6b', '#feca57', '#1dd1a1']} 
  background="rgba(0, 0, 0, 0.5)" 
/>

| Prop | Type | Default | Description | |-------------|------------|------------------------------------|-----------------------------------| | width | string | "50px" | Width of the spinner | | height | string | "50px" | Height of the spinner | | colors | string[] | undefined | Gradient colors | | background| string | "rgba(36, 36, 36, 0.6)" | Overlay background color |


4. <Coin />

Animated coin flip loader with a progress bar and branding text.

<Coin 
  text="SpendWise" 
  backgroundColor="#1a1a1a" 
  textColor="#00ffc8" 
/>

| Prop | Type | Default | Description | |------------------|----------|---------------|------------------------------| | text | string | " " | Branding or logo text | | backgroundColor| string | "#f8f9fa" | Background color | | textColor | string | "#2c3e50" | Color of the text |


5. <PulseRingLoader />

Full-screen circular pulse spinner with fading bars.

<PulseRingLoader 
  color="#00e5ff" 
  size={80} 
  speed={1.2} 
  className="my-custom-loader" 
/>

| Prop | Type | Default | Description | |-------------|----------|---------------|--------------------------------------| | color | string | "#3b82f6" | Bar color | | size | number | 40 | Diameter of the ring | | speed | number | 1.2 | Duration of one animation cycle (s) | | className | string | "" | Extra class for styling |


🧼 Styling

Global styles must be imported once in your root component or index.js:

import 'loading-screens/dist/loading-screens.css';