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

@tfrc/product

v1.1.0

Published

The product dialect of the visual language — application UI. Mobile-first, ~23 components, 44px touch floor. A deliberately small set (button, field, list/row, balance, amount, pill, segmented control, tabs) that products theme over and extend locally; th

Readme

@tfrc/product

The product dialect of the company's visual language. Mobile-first, restrained, built to be used daily for years. ~23 components, 44px touch floor, near-zero novelty tolerance.

The set is deliberately small: button, field, list/row, balance, amount, pill, segmented control, tabs. It covers the spine of an application UI and stops there. A product that needs something else builds it locally on these tokens and promotes it here on the third identical use (AGENTS.md rule 4) — the count grows from real demand, never from anticipating it.

This package is not an app. It is the UI kit every product themes over — the finance app is a separate repository that installs this package plus themes/finance (decisions/0007.md). Building a product? Read CONSUMING.md at the repo root. Renamed from @tfrc/app because that name was read as "the app"; see decisions/0008.md.

Products theme over this layer; they do not fork it. See src/themes/finance.css for the pattern — a product theme imports this package and adds only what's genuinely product-specific (currently: a --theme-product-hue identity tag). Everything else — button, field, transaction row, balance card, tab bar — is shared by every product that will ever theme over this layer.

Never imports from @tfrc/marketing. If you're tempted to reuse a marketing component here, that's a sign it belongs in @tfrc/foundation instead, and only once a third consumer needs it — see AGENTS.md rule 4.

Reserved tokens

--color-gain and --color-loss are owned by this package. See decisions/0002-reserved-hues-for-financial-semantics.md. Every amount or direction indicator must pair color with a sign or arrow — never color alone.

Adding a new product theme

  1. Copy the shape of src/themes/finance.css.
  2. Pick an unused hue from STATE.md's product_hues_in_use — check the ceiling in decisions/0005.md first.
  3. Only add token overrides if the product genuinely needs different values — most won't. The finance theme adds none.
  4. Update STATE.md.