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

@kizukulab/kira-ui

v0.1.0

Published

Kira's design system: a token contract, framework-free components, and seven themes that implement it.

Readme

Kira UI

Kira's design system, in two parts:

  • core/, the interface:
    • tokens.json: the design tokens (--ui-* CSS variables) every theme must define.
    • components.css: buttons, inputs, tabs, pills, chips, cards, meters, modals, toasts and switches. They use only the tokens.
    • ui.js + types.d.ts: small builders that make the same markup (button(), tabs(), modal(), …). No framework.
  • themes/, the implementations: one CSS file per look. All seven of Kira's skins are here: Orbital (the default, light and dark), Terminal (dark and light), Glass, Memphis, Swiss, Dot Matrix (light and dark) and Clay.

A theme changes how every component looks, including its quirks: Memphis's hard offset shadows, Glass's frosted blur, Clay's puffy shadows, Terminal's square monospace controls. The components stay the same.

Use it

<link rel="stylesheet" href="themes/all.css" />      <!-- or just the one theme you want -->
<link rel="stylesheet" href="core/components.css" />
<html data-ui-theme="memphis">                        <!-- pick a theme; data-ui-mode="dark" | "light" where it has modes -->
import { button, tabs, toast } from "@kizukulab/kira-ui";
document.body.append(
  tabs({ items: [{ id: "a", label: "Inbox" }, { id: "b", label: "Done", count: 3 }], value: "a", onChange: show }),
  button({ label: "Save", variant: "primary", onClick: () => toast("Saved") }),
);

Or write the markup yourself: the class names in components.css are the interface (ui-btn ui-btn--primary, ui-tabs > ui-tab[aria-selected], ui-pill ui-pill--good, …).

In Kira, widgets get all of this for free: /plugins/_sdk/kira.css includes the components, Kira switches the theme for you, and ui.js is at /plugins/_sdk/ui/ui.js.

Make your own theme

Install with npm install @kizukulab/kira-ui, copy any file from themes/, change the selector to your own id (:root[data-ui-theme="acme"]) and the values. It must define every token in core/tokens.json, no more and no fewer. Kira's tests check each built-in theme against that list, and you can run the same check on yours: npx kira-ui-check-theme my-theme.css (or node node_modules/@kizukulab/kira-ui/scripts/check-theme.js my-theme.css). A theme may also set color-scheme and keep private variables of its own (not starting with --ui-).

You can also replace components.css with your own implementation, as long as it keeps the class names and states (aria-selected, aria-pressed, disabled).

Licence

MIT. See LICENSE.