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

quantum-sphere-loading-icon

v1.0.2

Published

Parabolic spherical orbital loading component for React and Svelte, inspired by quantum superposition of atomic orbitals.

Readme

Quantum Sphere Loading

https://github.com/user-attachments/assets/903f2483-6fac-4592-be09-5fdc17196a84

DEMO

A parabolic spherical orbital loading component, inspired by quantum superposition of atomic orbitals and the wave function collapse concept. Particles occupy multiple quantum states until interacting (hovering), creating a mesmerizing, high-performance UI element.

Available for both React and Svelte 5.

Features

  • ⚛️ Physics-based Animation: Lines rotate in 3D space with parabolic trajectories
  • 🎨 Dynamic Color Schemes: 20+ preset color schemes (Neon, Cyberpunk, Galaxy, etc.)
  • 🖱️ Interactive: Hover effects simulate wave function collapse (particles react to observation)
  • ⚙️ Highly Configurable: Control line count, sphere size, speed, glow, and more
  • 🎭 Dual Framework Support: First-class support for both React and Svelte 5

Installation

npm install quantum-sphere-loading
# or
pnpm add quantum-sphere-loading
# or
yarn add quantum-sphere-loading

Usage

React

import React from 'react';
import QuantumWaveOrbital from 'quantum-sphere-loading';
import 'quantum-sphere-loading/css'; // Import styles

function App() {
  return (
    <div style={{ height: '500px', width: '100%' }}>
      <QuantumWaveOrbital 
        autoRandomize={true} 
        onSphereClick={() => console.log('Sphere clicked')} 
        className="my-custom-class"
      />
    </div>
  );
}

Svelte (v5)

<script>
  import QuantumWaveOrbital from 'quantum-sphere-loading/svelte';
</script>

<div class="container">
  <QuantumWaveOrbital 
    autoRandomize={true}
    onSphereClick={() => console.log('Sphere clicked')}
  />
</div>

<style>
  .container {
    height: 500px;
    width: 100%;
  }
</style>

Configuration

You can customize the sphere by passing a config prop/prop.

// Example custom config
const myConfig = {
  minLines: 8,
  maxLines: 16,
  minSphereSize: 150,
  maxSphereSize: 200,
  minRotationSpeed: 5,
  maxRotationSpeed: 20,
  // ... see types for full list
};

<QuantumWaveOrbital config={myConfig} />

Props / API

| Prop | Type | Default | Description | |------|------|---------|-------------| | config | OrbitalSphereConfig | (Default Preset) | detailed configuration object | | autoRandomize | boolean | true | Periodically changes the sphere's configuration (colors, lines, size) | | className | string | "" | Additional CSS classes for the container | | onSphereClick | () => void | null | Callback when the sphere is clicked |

OrbitalSphereConfig Interface

See src/QuantumSphere.d.ts (or your IDE's autocomplete) for the full list of configuration options, including:

  • minLines / maxLines
  • minSphereSize / maxSphereSize
  • minGlowIntensity / maxGlowIntensity
  • minSaturation / maxSaturation
  • autoRandomizeMin / autoRandomizeMax (ms)

License

MIT © vtempest