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

kaze-design-system

v0.1.1

Published

Zinc-based minimal design system optimized for Japanese typography and financial UI

Readme

@kaze-ds/react

GitHub

Zinc ベースのミニマルデザインシステム。日本語組版に最適化。

GitHub: https://github.com/yuki930/kaze-design-system

ESM only — このパッケージは ES Modules のみを提供します。 "type": "module" が設定された環境、または ESM 対応バンドラー(Vite, Next.js, webpack 5+)で使用してください。

インストール

npm install @kaze-ds/react

ローカル開発(npm link)

公開前のライブラリをローカルの別プロジェクトで使う場合:

# 1. ライブラリをビルド & リンク
cd kaze-design-system
npm run build:lib
npm link

# 2. 利用側プロジェクトでリンク
cd ../my-app
npm link @kaze-ds/react

ローカル開発(npm pack)

# 1. ライブラリをビルド & パック
cd kaze-design-system
npm run build:lib
npm pack
# → kaze-ds-react-0.1.0.tgz が生成される

# 2. 利用側プロジェクトでインストール
cd ../my-app
npm install ../kaze-design-system/kaze-ds-react-0.1.0.tgz

CSS の読み込み

まとめて読み込む(推奨)

import "@kaze-ds/react/css/all";

css/all は tokens / reset / components / utilities を @layer 付きでまとめたエントリポイントです。 CSS カスケードレイヤーにより詳細度が管理されるため、上書きも容易です。

個別読み込み

import "@kaze-ds/react/css/tokens";
import "@kaze-ds/react/css/reset";
import "@kaze-ds/react/css/components";
import "@kaze-ds/react/css/utilities";

Next.js App Router

app/layout.tsx で CSS を import してください。

// app/layout.tsx
import "@kaze-ds/react/css/all";

基本的な使い方

import { Button, Card, CardHeader, CardTitle, CardBody } from "@kaze-ds/react";
import { ThemeProvider } from "@kaze-ds/react/hooks";

function App() {
  return (
    <ThemeProvider defaultTheme="light">
      <Card>
        <CardHeader>
          <CardTitle>ポートフォリオ</CardTitle>
        </CardHeader>
        <CardBody>
          <Button>詳細を見る</Button>
        </CardBody>
      </Card>
    </ThemeProvider>
  );
}

コンポーネント一覧(59 コンポーネント)

| カテゴリ | コンポーネント | |---|---| | フォーム | Button, FAB, Input, NumberField, Select, Checkbox, Radio, Textarea, Switch, FormField | | データ表示 | Card, Badge, Table, Metric, Avatar, BarList, Tracker, Watermark | | チャート | BarChart, DonutChart, Sparkline | | フィードバック | Alert, Progress, Meter, Skeleton, EmptyState, Toast | | ナビゲーション | Tabs, Sidebar, TopBar, Breadcrumb, Pagination, Stepper | | オーバーレイ | Dialog, Tooltip, Dropdown, CommandPalette | | レイアウト | AppLayout, Divider, Grid, Search, Logo, Icon, Heading, Text | | リスト | List, DescriptionList, Timeline | | マーケティング | Navbar, Hero, Section, SplitSection, FeatureGrid, Stats, Pricing, Testimonial, FAQ, CTABanner, LPFooter |

デザイントークン

CSS カスタムプロパティベース:

  • カラー: --color-*(warm zinc パレット)
  • スペーシング: --space-*
  • タイポグラフィ: --font-size-*, --font-weight-*
  • ボーダー: --radius-*
  • シャドウ: --shadow-*

テーマ(ライト / ダーク)

data-theme="light" / data-theme="dark" で切り替え。 ThemeProvider で自動管理。prefers-color-scheme による OS 設定連動にも対応。

開発

npm run dev           # Next.js 開発サーバー(サンプル集 & ドキュメント)
npm run build         # Next.js 本番ビルド
npm run build:lib     # ライブラリビルド(dist/ に出力)
npm run storybook     # Storybook 起動
npm run typecheck     # TypeScript 型チェック

コントリビュート

バグ報告・機能リクエストは Issues へお願いします。

ライセンス

MIT