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

@kanzo-tech/ui

v0.49.0

Published

Kanzo shared UI — domain-free components over Ark UI and tailwind-variants, themed by tokens.

Readme

@kanzo-tech/ui

Kanzo's shared UI surface — Ark UI behaviour, tailwind-variants appearance, design tokens between them. The component set is adopted from Shark UI and re-branded to the Kanzo tokens.

@import "tailwindcss";
@import "@kanzo-tech/ui/tailwind.css";
import { Button, KanzoThemeProvider } from "@kanzo-tech/ui";

The package ships Tailwind v4 source, not compiled CSS: your build compiles it with your own utilities, once.

What is in it

  • simples/ — one component, one job: the adopted primitive set (inputs, overlays, menus, navigation, data display) with a flat compound API — DialogTrigger and DialogContent, not Dialog.Trigger.
  • composites/ — assemblies of those that stay domain-free: the sidebar, the code editor, the preferences kit.
  • layouts/ — the Shell and Section regions. Structure only, no appearance.

Everything is exported flat from the root, so a component moving between layers is never a breaking change. The docs site lists the surface with a live example per component, and its Philosophy page says how the three layers divide and what has to be true before a component is added.

Subpaths

The root barrel never statically imports an optional peer, because that would break import { Button } for everyone who did not install it. Anything that needs one lives on its own entry:

| Entry | Peer | |---|---| | @kanzo-tech/ui | none beyond React and lucide-react | | @kanzo-tech/ui/editor | @codemirror/* | | @kanzo-tech/ui/table | @tanstack/react-table | | @kanzo-tech/ui/analytics | @kanzo-tech/mosaic (with its peers @uwdata/mosaic-core, @uwdata/mosaic-sql), @uwdata/vgplot, @uwdata/mosaic-plot, valibot |

/analytics holds two layers over one Mosaic coordinator and one crossfilter: the charts grammar (MosaicProvider, ChartRoot, marks, interactors, inputs, ChartStat) and the mini BI kit built from it — Dashboard with DashboardStat, ChartCard, DetailTable and FilterBar, drawn from a relation's useFieldStats and a JSON DashboardSpec the host saves. Mosaic itself — the engine, the coordinator, Query, the aggregates, the clauses — is imported from @kanzo-tech/mosaic, the one door to it; /analytics re-exports none of it.

import { engine } from "@kanzo-tech/mosaic/engine";
import { Dashboard, FilterBar, MosaicProvider } from "@kanzo-tech/ui/analytics";

const e = await engine();
<MosaicProvider engine={e}>
  <FilterBar table="sightings" />
  <Dashboard table="sightings" value={saved} onChange={save} />
</MosaicProvider>;

The docs site's Analytics section has the mental model, the spec field by field, a host recipe (debounced saves, read-only, custom labels and colours) and the pitfalls.

Theming

KanzoThemeProvider writes the theme axes as data-* attributes on <html> — required, because Ark's overlays portal to document.body. useKanzoTheme() drives them, themeScript() prevents an SSR flash. Tokens and axes come from @kanzo-tech/theme.

Preference menus

PreferencesSections draws every preference a host offers: the theme picker (the side, and a theme for each side), density, and whatever the packages a host installed contribute — or one namespace of them (namespace="theme" is the core's). It is the one way to mount a preference control: radius and the faces are the theme's, so there is no control for them. PreferencesField / PreferencesFieldSet title a section of your own the same way. None of them knows what it is mounted on — the theme cards lay out on a container query, never a window width.

PreferencesRoot (with PreferencesTrigger and PreferencesPanel) is one surface over that kit: a non-modal drawer with a hotkey. A product with a real settings area drops the same sections into its own page instead, beside its own menu — no drawer, nothing to opt out of, no component to import for it. Both are first-class, and a section that ever needed to know which one it was on would be the design failing. /docs/layout/preferences shows the drawer, and showcases/settings shows the page.

Admission rule: nothing domain-specific — no RDF, SHACL, fossil, graph or auth knowledge.