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

@tomny-dev/uzi

v0.1.13

Published

Rapid-fire React UI components. Ship faster, build more.

Readme

@tomny-dev/uzi

Rapid-fire React UI components. Ship faster, build more.

Install

pnpm add @tomny-dev/uzi

Usage

import { Button, Card, Modal, ThemeProvider, useToast } from "@tomny-dev/uzi";

If you want the packaged component styles, import the exported stylesheet once in your app:

@import "@tomny-dev/uzi/styles.css";

Using With Coding Agents

Installing @tomny-dev/uzi in an app does not by itself cause Claude Code, Codex, or similar agents to prefer uzi components. You should add that policy to the consumer repo's agent guidance.

Recommended snippet for the consumer repo's CLAUDE.md, AGENTS.md, or equivalent:

## UI Components

- Prefer `@tomny-dev/uzi` for shared UI primitives and layout components.
- Check `uzi` before creating new local primitives such as buttons, inputs, labels, cards, modals, selects, dropdown menus, alerts, shells, navigation, and theme controls.
- Only introduce a repo-local primitive when `uzi` lacks the required behavior or when the local file is intentionally app-specific composition.
- Keep imports consistent with the surrounding area of the codebase. If the repo already uses thin wrappers around `uzi`, follow that local pattern.

If you want agents to discover props and examples directly, also configure the uzi MCP server. See mcp/README.md.

Themes

uzi ships with built-in light/dark tokens and a small accent palette layer.

"use client";

import { Button, ThemeProvider, useTheme } from "@tomny-dev/uzi";

function ThemeToggle() {
  const { resolvedTheme, toggleTheme, accent, setAccent } = useTheme();

  return (
    <div>
      <Button onClick={toggleTheme}>
        {resolvedTheme === "dark" ? "Switch to light" : "Switch to dark"}
      </Button>
      <Button variant="outline" onClick={() => setAccent(accent === "violet" ? "blue" : "violet")}>
        Toggle accent
      </Button>
    </div>
  );
}

export function App() {
  return (
    <ThemeProvider defaultTheme="system" defaultAccent="blue">
      <ThemeToggle />
    </ThemeProvider>
  );
}

Supported themes:

  • light
  • dark
  • system

Supported accent palettes:

  • blue
  • cyan
  • violet
  • emerald
  • amber
  • rose

Component Philosophy

uzi is not meant to be a from-scratch accessibility framework.

  • Use native HTML for simple form controls when the platform already gives the right behavior.
  • Use Radix for interaction-heavy primitives such as menus, dialogs, popovers, toasts, and custom selects.
  • Use uzi for the public component API, styling, tokens, and higher-level templates like TopBar, SidebarNav, and AppShell.

In practice, uzi should spend its complexity budget on reusable app scaffolding and cohesive design, not on rebuilding low-level widget behavior that Radix or the browser already solves.

Components

| Component | Description | |---|---| | Avatar | Profile image with fallback states | | Button | Primary, secondary, outline, ghost variants | | Card | Surface container with tone/padding control | | Checkbox | Checkbox form primitive | | Input | Text input primitive | | Label | Form label primitive | | MultiSelect | Custom multi-option picker with checkbox-style menu | | Pill | Inline badge/tag | | Modal | Radix-backed overlay dialog | | Select | Styled Radix-based single-select field | | Dropdown | Deprecated compatibility alias for Select | | DropdownMenu | Radix-based action menu primitives | | AppShell | Responsive layout with collapsible sidebar | | SidebarNav | Sidebar navigation list | | TopBar | Composable header shell for brand, nav triggers, and actions | | ThemeToggleButton | Reusable light/dark toggle wired to ThemeProvider | | ThemeProvider / useTheme | Light/dark + accent palette theming | | ToastProvider / useToast | Radix-backed toast notification system |

TopBar supports:

  • brandingLocation="left" | "center"
  • isSticky={true | false}
  • showThemeToggle
  • themeToggleProps

Notes

  • No Tailwind — components use CSS modules internally
  • "use client" is handled by the bundle — no need to wrap imports
  • react and react-dom are peer dependencies, provided by your app