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

ourthread-design-system

v0.0.0-experimental.0

Published

Experimental OurThread React primitive design-system package for Figma Make kit evaluation.

Readme

OurThread Design System Package

Experimental public-package surface for the OurThread React primitive library.

This package copies the current primitives from src/components/primitives/* so Figma Make can test whether it can consume the real OurThread component language from npm. The app still imports its local primitives directly. This package is not published yet and the workflow is not proven.

The package is intentionally unscoped for this experiment because the @ourthread npm scope/org is not available.

Importing

import { Background, Button, Card, TimerDigits } from 'ourthread-design-system';
import 'ourthread-design-system/styles.css';

The stylesheet import is required. Vite extracts the package CSS into dist/style.css, so consumers should import it explicitly to load Tailwind-generated primitive classes, CSS variables, and bundled font data:

import 'ourthread-design-system/styles.css';

Local Build

From the repo root:

npm --prefix packages/design-system run build

This produces an ESM library build and TypeScript declaration files under packages/design-system/dist.

Clean Vite App Smoke Test

Use a separate temporary Vite React app to verify the package before considering publication:

npm --prefix packages/design-system run build
cd packages/design-system
npm_config_cache=/private/tmp/ourthread-npm-cache npm pack --pack-destination /private/tmp
cd -
npm create vite@latest ourthread-ds-smoke -- --template react-ts
cd ourthread-ds-smoke
npm install
npm install /private/tmp/ourthread-design-system-0.0.0-experimental.0.tgz

Then render a small primitive sample:

import { Background, Button, Card, TimerDigits } from 'ourthread-design-system';
import 'ourthread-design-system/styles.css';

export function App() {
  return (
    <Background variant="auth" className="min-h-screen p-8">
      <Card variant="hero" size="spacious">
        <TimerDigits state="future" />
        <Button variant="primary">Create account</Button>
      </Card>
    </Background>
  );
}

Run:

npm run dev

Inspect whether fonts, dark surfaces, timer digits, button states, and spacing match the app primitive preview.

Known portability requirement: the consumer must explicitly import ourthread-design-system/styles.css.

Figma Make Experiment

After a future manual npm publication, test whether Figma Make can import ourthread-design-system and compose screens from these exports. Use Guidelines.md as the Figma Make behavior guide.

Figma Make output remains visual/layout guidance only. Codex implementation in the real app must still use local primitives from src/components/primitives and verified feature hooks/APIs.