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

@nezam.ai/web-toolbar

v0.1.0

Published

Standalone browser toolbar package with ribbon, generic, and grid filter toolbar APIs plus showcase demos

Readme

@nezam.ai/web-toolbar

Browser toolbar package that exposes two surfaces:

  • createControl / renderControl for the office-style application toolbar used by forms and grouped controls.
  • createToolbar / normalizeToolbarDefinition for the generic item toolbar API used by diagram and editor surfaces.
  • createGridToolbar / renderGridToolbar for the demo-style filter/search toolbar with row count, namebox, and toolbar actions.
  • The grid toolbar emits onToolbarAction, onSearchChange, onApplySearch, and related callback hooks for app-specific filtering behavior.
  • describeGridToolbarEvents is available for registering toolbar button click descriptors in host runtimes.

Standalone showcase pages live under demos/ and demonstrate the package as a mountable browser surface with multiple live toolbar demos. The gallery currently includes ribbon, ribbon tab cycle, ribbon visibility cycle, ribbon hidden and disabled, empty ribbon fallback, ribbon descriptors, ribbon descriptor updates, ribbon top buttons, ribbon primary and secondary, ribbon icon and leading, ribbon icon label fallbacks, ribbon icon aliases, ribbon parent label tabs, ribbon label fallbacks, ribbon metadata fallbacks, ribbon navigation metadata, ribbon action label fallbacks, command bar, separator layout, separator implicit ids, grid search, legacy aliases, row-count alias, row-count text alias, search aria label, search mode, namebox label, action aliases, action title fallbacks, action icon aliases, namebox visibility, cell mode, focus shortcuts, keyboard enter, keyboard escape, search aliases, filter and sort callbacks, callback aliases, grid descriptor updates, grid runtime swap, grid event detail, lifecycle teardown, command load swaps, runtime cycles, menu reloads, teardown cycles, update lifecycle, focus state, state restore, focus restore, command context swap, policy inspection, normalization snapshot, gate inspection, command state cycle, command state aliases, command-state aliases, validation state cycle, context mode cycle, selection rules, requires-selection aliases, option data, item data inspector, event data detail, option gating, option-state aliases, option validation cycle, option host gate, option enabled alias, item enabled alias, option method actions, items shorthand, serialize snapshots, load array shorthand, dispatch shorthand, validation lab, activation tour, activation errors, toggle state, segmented state, menu state, disabled state, event detail, listener lifecycle, listener rebind, diagram bridge, dispatch relay, dispatch precedence, method precedence, diagram methods, diagram active state, option selection alias, defaults, hidden-namebox, grid normalization inspector, disabled actions, pressed actions, row-count update, imperative API, descriptor explorer, and grid variant demos. Run npm run demo in this package to serve the showcase locally. Open http://127.0.0.1:4173/toolbar/demos/ in the browser after the server starts.

The package is the public entrypoint and owns its implementation.