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

kanso-ui

v2.0.0

Published

寛素 — the quiet system. A React component library built on three principles of Japanese aesthetics: ma (space), wabi (humility), sabi (austerity).

Readme

kanso-ui

寛素
the quiet system

A React component library built on three principles of Japanese aesthetics — ma (間, space), wabi (侘, humility) and sabi (寂, austerity). The rule that emerges from them: remove until nothing remains that can be removed.

This is not a comprehensive system. It is a restrained one.


Install

npm install kanso-ui

Then, once, at your app entry:

import 'kanso-ui/styles';
import { lightTheme } from 'kanso-ui';

document.documentElement.classList.add(lightTheme);

The styles entry registers the three self-hosted families (Noto Serif JP, Syne, DM Mono) and applies a minimal reset. The theme class fills every CSS variable on the document root.

Use the tokens

Every value the system defines ships as a typed JavaScript path and a stable CSS variable — both resolve to the same value at runtime. Reach for whichever fits.

import { style } from '@vanilla-extract/css';
import { vars, colorVars } from 'kanso-ui';

export const card = style({
  padding: vars.space[4],
  border: `${vars.borderWidth.hair} solid ${colorVars.color.paper3}`,
  borderRadius: vars.radius.md,
  color: colorVars.color.ink2,
  fontFamily: vars.font.sans,
});
.card {
  padding: var(--kanso-space-4);
  border: var(--kanso-border-width-hair) solid var(--kanso-paper-3);
  border-radius: var(--kanso-radius-md);
  color: var(--kanso-ink-2);
  font-family: var(--kanso-sans);
}

Use a component

import { Button, IconButton, Badge, Card } from 'kanso-ui';
import { Plus } from 'lucide-react';

export const Toolbar = () => (
  <Card>
    <Button>Save changes</Button>
    <Button variant="secondary">
      <Plus size={16} strokeWidth={1.5} /> Add another
    </Button>
    <Badge tone="success">Saved</Badge>
    <IconButton aria-label="Search">{/* Lucide icon */}</IconButton>
  </Card>
);

What ships

| | | |---|---| | Tokens | Color · Typography · Space · Radii · Borders · Motion | | Themes | Light · Dark (lightTheme, darkTheme classes) | | Actions | Button · IconButton | | Display | Badge · Card |

More components land in subsequent releases on the next tag. The full taxonomy (35 components across nine groups) is documented in the Storybook sidebar.

Documentation

The full design system — every token in light and dark, the typographic scale, the spacing system, the philosophy and every shipped component — lives at https://kanso-ui.vercel.app.

To run the docs locally for development:

npm install
npm run dev

Then open http://localhost:6006.

Philosophy in three rules

  1. Empty space carries the same weight as filled space. The margin is part of the design.
  2. Beauty is what is imperfect, functional and honest. No ornament for ornament's sake.
  3. Only what is essential. If an element has no clear job, it does not appear.

What KansoUI never does

  • No gradient backgrounds, even subtle ones
  • No decorative box-shadows
  • No border-radius larger than 4px on UI (avatars excepted)
  • No saturated primaries — electric blue, neon green, brand purple
  • No font weight heavier than 500
  • No bounce or spring animations
  • No filled icons or strokes thicker than 1.5px
  • No more than one primary CTA per screen
  • No colored backgrounds on primary containers

Stack

React 18 · TypeScript · vanilla-extract · self-hosted @fontsource/* · Lucide for icons · Storybook 8.

License

MIT.