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

@kazuemon/ui

v0.4.0

Published

Just another attempt at creating my dream React UI library.

Readme

@kazuemon/ui

@kazuemon/ui のバナー。ぼくがかんがえたさいきょうのUIライブラリをつくりたい

npm license

かずえもんが個人で作っている、React と Tailwind CSS の UI コンポーネントライブラリです。

  • ドキュメント: https://ui.k6n.jp
  • Storybook: https://story.ui.k6n.jp

もくひょう

  • コンポーネントがいっぱいあるけど、マテリアルデザインほどかたい感じじゃないモダンなUIライブラリがつくりたい。
  • とりあえず手を進めていきたいので、アクセシビリティへの対応は後ほど。

つかうもの

  • ベース: Tailwind CSS
  • フォント: Mulish + IBM Plex Sans JP(等幅: Geist Mono)
  • アイコン: Phosphor Icons

以下画像は日本語と英語を混ぜた文章を作るために、色んな単語を無理やり英語に置き換えたサンプルテキストです。

フォントのサンプルテキスト「@kazuemon/uiは、「ぼくがかんがえたさいきょうのUIライブラリ」をConceptに、かずえもんが個人で制作しています。SimpleでModernな見た目かつ、Usabilityも重視したUI Libraryを目指しています。Designはほぼ独学で、Design Systemなどの勉強も兼ねているので、DesignのRuleにおいては正しくないかもしれません。ご容赦ください。」

つかいかた

@kazuemon/ui は、Component と Recipe で構成されています。

  • Component: @kazuemon/ui から読んで使う部品です(Button・TextField・Dialog など)
  • Recipe: 部品にはせず、コードを写して使う見本です。Storybook の Recipes に並んでいます
    • コンポーネントを組み合わせて作るもの(Footer など)
    • 外部ライブラリと組み合わせて使うもの(TanStack Table・dnd-kit など)

Tailwind CSS v4 と React 19 が必要です。

pnpm add @kazuemon/ui

# 日本語の推奨フォント(IBM Plex Sans JP)を使うときに必要です
pnpm add @fontsource/ibm-plex-sans-jp

# Icon などに Phosphor のアイコンを渡すときに必要です
pnpm add @phosphor-icons/react

# DataTable の Recipe(TanStack Table でつなぐ)を使うときに必要です
pnpm add @tanstack/react-table

# Sortable の Recipe(dnd-kit でつなぐ)を使うときに必要です
pnpm add @dnd-kit/react @dnd-kit/helpers @dnd-kit/dom

アプリの CSS で、tailwindcss のあとに読みます。部品のクラスは、アプリの Tailwind がまとめて作ります。

@import 'tailwindcss';
@import '@kazuemon/ui/tailwind.css';
@import '@kazuemon/ui/fonts.css'; /* 欧文と等幅(Mulish・Geist Mono) */
@import '@kazuemon/ui/fonts-ja.css'; /* 和文(IBM Plex Sans JP)。@fontsource/ibm-plex-sans-jp が要る */
import { Button } from '@kazuemon/ui';

export function SaveButton() {
  return <Button>保存する</Button>;
}
  • 部品は @kazuemon/ui から読みます。部品ごとに 'use client' を持つので、Server Components のページからそのまま使えます
  • トークンは Tailwind のクラスとしても使えます(bg-primary・rounded-control・h-control・text-caption など)
  • 部品に className で渡したクラスは、部品のクラスより優先されます。自分で cn() を作るときは、twMergeConfig を extendTailwindMerge(twMergeConfig) に渡すと、部品と同じまとめ方になります
  • 部品は、ページのフォント(body などに置いたもの)を受け継ぎます。フォントを読まないときは、ui-sans-serif, system-ui, sans-serif など、端末のフォントで描かれます

つくりたいもの

作りたい部品と機能、その進み具合は design/roadmap.md にあります。

ライセンス

MIT