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

@rothoblaas/design-system

v0.16.0

Published

A React component library built with TypeScript.

Readme

@rothoblaas/design-system

npm version license

Rothoblaas's React component library — TypeScript components styled with Vanilla Extract, built for our own products.

Quick start

npm install @rothoblaas/design-system
import { Button } from "@rothoblaas/design-system";
import "@rothoblaas/design-system/styles.css";

export function App() {
  return <Button>Click me</Button>;
}

Besides react/react-dom, some components have peer dependencies: react-router-dom (Tabs), react-hook-form (Form), react-select (Select/AsyncSelect), and react-number-format (Numeric). They aren't bundled into dist, so install whichever ones your app actually uses. Tabs calls useNavigate/useLocation internally, so an app using it must already be wrapped in a react-router-dom Router (e.g. BrowserRouter).

The default typeface (Museo Sans) is a commercially licensed font, not covered by this repo's MIT license — see NOTICE.md before reusing this codebase outside Rothoblaas's own products. Consumers can override it without touching the library via the --rb-font-family CSS variable.

Global CSS variables

Set these on :root (or any ancestor) to theme the library without overriding individual component styles:

| Variable | Default | Effect | | ------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | --rb-font-family | museo-sans, -apple-system, … | Base font family used across components. | | --rb-font-weight | 100 | Base font weight used across components. | | --rb-accent-color | per-component | Fallback accent color for components that don't set their own accent (e.g. buttons, checkboxes, nav, spinners). Individual components expose their own --<component>-accent variable that takes precedence when set. | | --rb-radius | 0 | Global corner-rounding multiplier. Components compute their border-radius as <max-radius> * var(--rb-radius, 0), so corners are square by default (0); set it to 1 for fully rounded corners. |

:root {
  --rb-accent-color: #0b5fff;
  --rb-radius: 1;
}

--rb-radius is only wired up in components that have rounded corners in their design (e.g. Button, Card, Input, Table, Tabs) — components without corners to round ignore it.

Playground

Browse and test every component locally without publishing:

npm run playground:dev

Development scripts

  • npm run build — builds ESM, CJS, and type declarations into dist/
  • npm run playground:dev / playground:build — run or build the local demo app
  • npm run typecheck — runs TypeScript without emitting files
  • npm run test — runs the test suite
  • npm run lint / lint:fix — ESLint
  • npm run format / format:check — Prettier

Styles are authored with Vanilla Extract in .css.ts files and compiled during the library build.

Releasing

Versioning and the changelog are managed with Changesets:

  • npm run changeset — run this in any PR that changes the published package; it asks for a bump type (patch/minor/major) and a summary, and writes a file under .changeset/.
  • npm run version — applies pending changesets: bumps package.json's version and updates CHANGELOG.md.
  • npm run release — builds and publishes to npm (npm run build then changeset publish).
  • git push --follow-tags — to push new tags