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

@arismachina/design-system

v0.1.0

Published

Shared UI primitives for Protos and Gemba; semantic tokens, cn(), CVA. Standalone global package.

Downloads

92

Readme

@arismachina/design-system

Standalone global package — shared UI primitives for Protos and Gemba. Both products use this repo independently; it is not embedded in either codebase.

This is its own repo

  • Publish to npm (or your private registry) as @arismachina/design-system.
  • Consume from Protos and Gemba via npm or Git.
  • No dependency on either product; they depend on this package.

Principles

  • Every component accepts className and merges with cn() (clsx + tailwind-merge).
  • Semantic tokens only (e.g. bg-primary, text-muted-foreground). No raw colors.
  • CVA variant patterns; Radix accessibility preserved.

Making this a new repo

  1. Copy this folder to the root of a new Git repo (e.g. arismachina-design-system).
  2. Or from inside this folder run:
    git init
    git remote add origin https://github.com/arismachina/arismachina-design-system.git
  3. Update package.jsonrepository.url to your real repo URL.
  4. Publish (see below) or let products install from Git.

Publish to npm

npm run build
npm publish

For a scoped package with a private registry, set publishConfig in package.json (e.g. "registry": "https://your-registry.com/").

Install in products (use independently)

From npm (after publish)

Protos and Gemba add the same dependency:

pnpm add @arismachina/design-system
# or
npm install @arismachina/design-system

From Git (before or without publish)

Protos (protos-v2/frontend2/package.json):

"dependencies": {
  "@arismachina/design-system": "git+https://github.com/arismachina/arismachina-design-system.git#main"
}

Gemba (aris-troubleshooting/frontend/ui/package.json):

"dependencies": {
  "@arismachina/design-system": "git+https://github.com/arismachina/arismachina-design-system.git#main"
}

Use a tag or commit hash instead of #main for a fixed version.

From local path (development)

While developing the design system, either product can link it:

"@arismachina/design-system": "file:../../path/to/arismachina-design-system"

Or use pnpm link / npm link.

Peer dependencies

  • react >= 18
  • react-dom >= 18

Consumers need Tailwind (v3 or v4) and the semantic theme (preset or CSS variables) so classes like bg-primary resolve. See CONSUMING.md for Protos vs Gemba setup.

Tailwind preset (Phase 2)

Use the preset so semantic utilities (bg-primary, text-muted-foreground, etc.) resolve:

// tailwind.config.js (Tailwind v3)
module.exports = {
  presets: [require("@arismachina/design-system/preset")],
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
    "./node_modules/@arismachina/design-system/dist/**/*.js",
  ],
};

Also valid: require("@arismachina/design-system/tailwind-preset").

Optional: base styles (semantic tokens)

To get default token values (light/dark) without defining CSS variables yourself, import once in your app:

// e.g. in main.tsx or your root CSS
import "@arismachina/design-system/styles";

Or in CSS: @import "@arismachina/design-system/styles";
This sets --primary, --muted, --background, etc. You can override any variable in your own :root / .dark.

Usage

import { Button, cn } from "@arismachina/design-system";

<Button variant="default" size="sm" className="my-2">Click</Button>