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

@extrastu/nuphy-ui

v0.3.0

Published

NuPhy IO design system — Apple/macOS-inspired settings UI components with light & dark tokens.

Readme

@extrastu/nuphy-ui

NuPhy IO design system — an Apple / macOS–inspired settings UI kit for React + Tailwind CSS v4, with built-in light & dark tokens.

Demo: https://nuphy-design-system.vercel.app/
Repo: https://github.com/extrastu/nuphy-design-system

NuPhy IO design system preview

Install

npm install @extrastu/nuphy-ui
# peer deps (if not already installed)
npm install react react-dom lucide-react

Requires Tailwind CSS v4 in the consuming app.

Setup

  1. Import the design tokens once, in your global stylesheet, right after Tailwind:
@import "tailwindcss";
@import "@extrastu/nuphy-ui/styles/tokens.css";
  1. Make sure Tailwind scans the package so its class names aren't purged. In your CSS:
@source "../node_modules/@extrastu/nuphy-ui/dist";
  1. Use the components:
import { SettingRow, IosToggle, Stepper, SelectPill, ThemeToggle } from "@extrastu/nuphy-ui";

export function Settings() {
  return (
    <div className='rounded-2xl bg-surface p-2'>
      <SettingRow
        title='Auto Sleep'
        description='Turn off backlight after idle.'
        control={<IosToggle defaultChecked label='Auto Sleep' />}
      />
      <SettingRow title='Level 1 Sleep' control={<Stepper defaultValue={6} min={1} max={60} unit='min' />} />
      <SettingRow
        title='Keyboard Layout'
        control={<SelectPill defaultValue='US-ANSI-Mac' options={["US-ANSI-Mac", "JIS"]} />}
      />
      <ThemeToggle />
    </div>
  );
}

Dark mode

Toggle by adding the dark class to <html> (the included ThemeToggle does this for you). Without any class it falls back to the system prefers-color-scheme.

Components

Settings-list controls:

| Component | Description | | ---------------- | -------------------------------------------------------- | | SettingsGroup | Rounded card group with hairline dividers + optional title/footer | | SettingRow | Title + description + right-aligned control row | | IosToggle | iOS-style switch with green active state | | Stepper | Minus/plus numeric stepper with min/max + unit | | Slider | Fine track + thumb; optional value/unit display | | Checkbox | macOS-style checkbox with optional label | | SelectPill | Accessible pill dropdown (click-outside + Esc) | | ThemeToggle | Light/dark switcher that toggles the dark class |

General components:

| Component | Description | | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- | | Button | Pill button — primary / secondary / ghost / destructive, sizes sm / md / lg | | Input / Textarea | Rounded fill inputs with focus ring | | Field | Label + hint/error wrapper for form controls | | Divider | Horizontal / vertical hairline separator | | Card (CardHeader/CardTitle/CardDescription/CardContent/CardFooter) | Flat surface card with optional footer | | Badge | Status chip — neutral / success / outline | | Collapse | Animated accordion panel (controlled/uncontrolled) | | Segmented | iOS segmented control / radio group |

Publishing (maintainers)

npm run build          # bundles to dist/ via tsup
npm login              # as extrastu
npm publish --access public

The prepublishOnly script runs the build automatically.

License

MIT