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

bloom-icons

v0.16.0

Published

Bloom: a 24px icon set in five styles grown from one drawing per concept.

Readme

Bloom icons

A 24px SVG icon set in five styles: Linear, Line Duotone, Outline, Bold and Bold Duotone. Each icon is drawn once as Linear and the other four styles are grown from that drawing, so switching style never shifts an icon. Every file draws in currentColor.

This package holds every file (dist/<style>/<name>.svg), the list of icons (dist/icons.json) and a small command that finds names by use word and prints files. It has no dependencies and runs no install scripts.

Find a name, then take the file

Bloom names describe shapes (gear, magnifier, tray-arrow-down); uses live in tags (settings, search, download). Look names up instead of guessing them:

npx -y [email protected] find settings download "arrow right"
npx -y [email protected] get gear --style linear > gear.svg

The same command runs with pnpm dlx [email protected], yarn dlx [email protected] and bunx [email protected], or as bloom-icons once the package is installed in a project.

| Command | What it prints | |---|---| | find <word> [<word> ...] | The best icons for each word, with category and tags. An old name says what it became; external-link is read as two words. Options: --limit n, --json. | | get <name> [--style s] [--motion \| --play] | The SVG file, byte for byte. Styles: linear (default), line-duotone, outline, bold, bold-duotone. --motion gives the version that moves on hover, for icons find marks “moves on hover”; --play the version that plays on an event or a state, for icons find marks “plays on”. | | mcp | An MCP server on stdio with the tools find_icons and get_icon. |

With no command it prints its help. npx takes --help and --version as its own options, so put -- before them: npx -y [email protected] -- --version.

For AI agents

Connect the MCP server so an agent looks names up instead of guessing them.

Claude Code, for every project (leave out --scope user for the current project only):

claude mcp add --scope user bloom -- npx -y [email protected] mcp

Claude Desktop, Cursor and other clients that read an mcpServers list:

{ "mcpServers": { "bloom": { "command": "npx", "args": ["-y", "[email protected]", "mcp"] } } }

The package also carries a Claude Code skill in skills/bloom/: link that folder into ~/.claude/skills/ and sessions learn when and how to use Bloom.

Use the files directly

  • In a bundler: bloom-icons/dist/linear/gear.svg (through your SVG loader).

  • From a CDN: https://cdn.jsdelivr.net/npm/[email protected]/dist/linear/gear.svg.

  • The list: bloom-icons/icons.json, with every name, category and tag, the styles and the renames.

  • Moving on hover: icons marked "motion": true in icons.json also have dist/motion/<style>/<name>.svg. Paste one inline and it moves while the button or link around it is hovered, from its own <style>: no script, never on touch or keyboard focus, still under reduced motion. Pages whose Content-Security-Policy refuses inline styles link dist/motion.css once.

  • Playing on an event or a state: icons with a "play" list in icons.json also have dist/play/<style>/<name>.svg. Paste one inline inside a button or link and set an attribute on that button: data-bloom-play plays it once (a bell rings, a check draws itself, a heart beats), aria-busy="true" loops it while busy (spinner, arrows-clockwise), aria-expanded="true" turns it or moves a panel's divider and holds (chevron-down, panel-left), and aria-checked="true" on a switch (role="switch") moves its knob to the other end and holds (toggle-left). The list says which of play, busy, expanded and checked an icon answers. --bloom-speed on any parent multiplies every duration. Under reduced motion nothing travels, and a held pose shows at once. To play it again, remove the attribute, read the layout once and set it again:

    function playIcon(button) {
      button.removeAttribute('data-bloom-play');
      button.getBoundingClientRect(); // a layout read, so the next line starts the animation again
      button.setAttribute('data-bloom-play', '');
    }

    A play file carries no hover motion. To play an icon each time a mouse or trackpad comes onto its button, as the icon browser at bloomicons.com does, call playOnHover(button) from this script: it plays the whole motion once, lets it finish when the pointer leaves, and does nothing on touch, keyboard focus or reduced motion.

    // Plays a Bloom play file once each time a mouse or trackpad comes onto the button around it.
    function playOnHover(button) {
      const isPlaying = () => button.getAnimations({ subtree: true }).some((animation) => animation.animationName?.startsWith('bloom-') && animation.playState === 'running');
      button.addEventListener('pointerenter', (event) => {
        if (event.pointerType !== 'mouse' || isPlaying() || matchMedia('(prefers-reduced-motion: reduce)').matches) return;
        button.removeAttribute('data-bloom-play');
        button.getBoundingClientRect(); // a layout read, so the next line starts the animation again
        button.setAttribute('data-bloom-play', '');
      });
      // Taken off once played, so a later redraw of the icon does not play it again.
      button.addEventListener('animationend', () => { if (!isPlaying()) button.removeAttribute('data-bloom-play'); });
    }

    Pages whose Content-Security-Policy refuses inline styles link dist/play.css once.

Renamed icons

renames in dist/icons.json lists every name that was renamed or removed, newest first, with the icon to use now. find and get read it too: get earth answers that earth was removed in 0.6.0 and that globe replaces it.

License

MIT. The full text is in LICENSE.