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

@human.tech/ui

v0.0.0

Published

Human.Tech Design System - React components and CSS

Readme

Human.Tech Design System

A React component library and design system for Human.Tech products.

Features

  • React Components — TypeScript-first React components with proper typing
  • Design Tokens — Consistent spacing, colors, typography via CSS variables
  • Storybook Documentation — Interactive component showcase
  • CSS Modules — Scoped styles for each component

Components

  • Button — Variants: primary, secondary, tertiary, text, outline, surface, link-gray, link-brand, danger
  • Input — Text input field with labels, helpers, error states
  • Dropdown/Select — Single select, searchable, and multiselect variants
  • ContextMenu — Floating menu with optional icons
  • BottomSheet — Slide-up modal
  • Checkbox, Radio, Toggle — Form controls
  • Chip — Tag/chip component with optional close button
  • And more...

Installation

echo "@holonym-foundation:registry=https://npm.pkg.github.com" >> .npmrc

pnpm add @holonym-foundation/ui

Development

The repo uses pnpm only (pinned by packageManager; run corepack enable once).

pnpm install
pnpm storybook        # http://localhost:3000
pnpm lint             # typecheck, design-lint, story-copy-lint, token gates (the PR gate)
pnpm build
pnpm build-storybook

Contributing

design.md is the design-system contract: tokens, the icon set, the Storybook spine and rule ids. CLAUDE.md is the working guide. pnpm lint is the gate every pull request must pass; CI also runs both builds and the browser audits.

Usage

import { Button, Dropdown } from '@holonym-foundation/ui'

export function MyApp() {
  return (
    <>
      <Button variant="primary">Click me</Button>
      <Dropdown
        options={[
          { value: 'eth', label: 'Ethereum' },
          { value: 'poly', label: 'Polygon' },
        ]}
        onChange={(value) => console.log(value)}
        label="Select network"
      />
    </>
  )
}

Passport partner score integration

Use PassportScoreSurface when a host already owns score fetching, wallet signing, and its server-side Passport proxy. The component owns the Passport presentation only. A route can require a larger minimum; HTDS promotes it before rendering, without remounting the host's state.

import { PassportScoreSurface } from '@holonym-foundation/ui'
import '@holonym-foundation/ui/styles.css'

export function ShieldPassportScore({ score, loading, onVerify }) {
  return (
    <PassportScoreSurface
      environment="partner"
      presentation="pill"
      minimumPresentation="sidecar"
      skin="custom"
      taskId="shield-humanity-check"
      state={loading ? 'loading' : score >= 20 ? 'verified' : 'below'}
      score={score}
      threshold={20}
      addVerificationsCta={{ onClick: onVerify }}
    />
  )
}

Keep API credentials behind the host's same-origin backend proxy. Pass only controlled state and callbacks to the UI package. PassportScoreSurface supports pill, mini, and sidecar; use PassportApp for a full browser application rather than stretching an embed.

CSS Import

Components use CSS variables from design tokens. Import the CSS in your app:

import '@holonym-foundation/ui/styles.css'

License

MIT