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

@qball-inc/react

v1.0.1

Published

QBall Design System React components — token-driven, framework-agnostic at the CSS layer. Dual ESM/CJS build with TypeScript declarations.

Readme


Every component is a Strategy-2 className wrapper: it applies the shipped @qball-inc/tokens classes and emits no CSS of its own. So the React package is the behavior and accessibility layer; the visual layer arrives entirely from the token CSS you import.

Install

pnpm add @qball-inc/react @qball-inc/tokens react react-dom

The components are built on Radix UI primitives, declared as peer dependencies — pnpm/npm install them alongside automatically (with a strict setup, add any your bundler reports as missing). Two peers are optional, needed only for the one component that uses them:

| Optional peer | Needed for | | ----------------------- | ----------------------------------- | | @tanstack/react-table | DataTable (its headless core) | | d3 | Candlestick (the D3 chart island) |

The icon system has no runtime icon-pack dependency — the marks are compiled to our own inline SVGs at build time.

Wire the token CSS (required)

Because the components emit no CSS, you must import the @qball-inc/tokens layer or everything renders unstyled. Order matters.

/* app.css */
@import "@qball-inc/tokens/colors-and-type.css"; /* tokens + .btn — REQUIRED, first */
@import "@qball-inc/tokens/components.css"; /* component layer — REQUIRED, second */
// main.tsx
import "./app.css";
import { Button, Stat } from "@qball-inc/react";

export function App() {
  return (
    <main>
      <Button variant="primary">Add to watchlist</Button>
      <Stat label="AAPL" value="184.30" unit="USD" direction="up" delta="+8.4%" />
    </main>
  );
}

Switch themes with data-theme="light|dark" on <html>. Full wiring guide (Tailwind @theme, the --font-display override, @source scanning): docs/consumer-setup.md.

What's included

| Family | Components | | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | | Primitives | Button · Input · Field · Select · Switch · Segmented · SecretInput · Search | | Overlays | Modal · AlertModal · Toaster/toast · Callout · Skeleton · Spinner · EmptyStateFig/ErrorStateFig | | Data display | Stat · Meter · Badge · Card · Divider · Tabs · Sparkline · Tooltip · Avatar/AvatarGroup · DataTable · Candlestick | | App chrome | AppBar · UserMenu · ThemeToggle · Scrim · CommandDock · NotificationCenter | | AI / domain | Terminal · Composer · useStreaming · GroundingFlag · MarkdownRenderer · ToolUseIndicator · DigestCard | | Backgrounds | GridBg · AsciiBg · GlyphsBg (+ the useCanvas2D driver) — SSR-safe animated <canvas> | | Icons | Icon (dynamic registry) + per-icon named exports (tree-shakeable) + a nominative brand-mark track | | Media | MediaSlot — a pure-React, SSR/static-safe display container (image / gif / video / embed-facade) |

All components are token-driven (no hardcoded color, no box-shadow), pair finance color with a non-color cue, and honor prefers-reduced-motion. Browse every one in the live gallery.

Part of the QBall Design System

License

Apache-2.0 © QBall Inc. The icon system's brand track ships a small set of third-party brand marks for nominative identification only (e.g. a "Sign in with Google" affordance) — see MARKS.md. These remain the trademarks of their respective owners.