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

@trembus/icons

v0.1.0

Published

The Trembus glyph set — hand-authored, normalized 24×24 inline-SVG icons (node/file-type marks + UI affordances) shared by @trembus/ui and @trembus/viz. Pure React components, no stylesheet: monochrome glyphs paint currentColor (the consumer tints via a t

Readme

@trembus/icons

npm License: MIT

The shared glyph set for the Trembus component libraries: hand-authored, normalized 24×24 inline-SVG icons used to mark node kinds and file types and to carry UI affordances. Pure React components — no stylesheet, no dependencies (React peer only).

Two vocabularies, two color rules:

  • Monochrome glyphs paint currentColor, so you tint them with the surrounding text color (a var(--tcl-*) token in this design system).
  • Brand / type marks (TypeScript, JavaScript, React, CSS, HTML) carry their own brand color — they're only recognizable that way. They're decorative (aria-hidden), so an adjacent text label does the accessible work.

Part of the Trembus Component Librarybrowse the live Storybook →

pnpm add @trembus/icons

Use

Import a glyph as a tree-shakeable named component:

import { DatabaseIcon, SearchIcon } from '@trembus/icons';

<span style={{ color: 'var(--tcl-text-dim)', fontSize: 16 }}>
  <DatabaseIcon />
</span>;

Glyphs size to the font (width/height: 1em) and inherit color via currentColor, so a wrapping element's font-size and color control them.

Render by name

When the glyph name is dynamic (a file extension, a node kind), render through the registry-backed <Glyph>:

import { Glyph, extToGlyph, SYSTEM_KIND_GLYPH } from '@trembus/icons';

<Glyph name={extToGlyph('Button.tsx')} />; // → the TypeScript mark
<Glyph name={SYSTEM_KIND_GLYPH.datastore} />; // → the database glyph

Glyph renders nothing for an unknown name (safe to call eagerly). Importing Glyph / GLYPHS pulls the full set; importing individual *Icon components tree-shakes to just those.

Exports

| Entry | What | | ------------------------------------------- | ---------------------------------------- | | *Icon (e.g. DatabaseIcon, SearchIcon) | tree-shakeable per-glyph components | | Glyph / GLYPHS / GlyphName | render-by-name registry (dynamic names) | | SYSTEM_KIND_GLYPH | default C4 node-kind → glyph-name map | | EXT_GLYPH / extToGlyph(label) | file-extension → glyph-name map + helper |

License

MIT © Nicholas Osto · source & contributing