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

mikeneko-ui

v1.4.0

Published

mikeneko UI — AI-ready design system CLI. Injects theme + rules into your React/Next.js project.

Downloads

56

Readme

mikeneko-ui

shadcn/ui ベースの AI-ready デザインシステム CLI。

React (Vite) / Next.js プロジェクトに、デザイントークン・ルール・MCP サーバーをワンコマンドで注入する。


Based on melta UI

mikeneko-ui は melta UI デザインシステムを基盤としている。

melta UI は「人間にも、AIにも、読めるデザインシステム」として設計された、AI-ready なデザインシステム。Markdown ドキュメント・JSON トークン・MCP サーバーの3層構造で、人間の可読性と AI の可読性を両立する。

mikeneko-ui は、melta UI のデザイントークン・禁止パターン・設計原則を shadcn/ui コンポーネントライブラリと組み合わせ、CLI として配布可能にしたもの。


Quick Start

# 1. shadcn/ui を先に初期化(まだの場合)
npx shadcn@latest init

# 2. mikeneko-ui を注入
npx mikeneko-ui

これだけ。


CLI がやること

$ npx mikeneko-ui

  mikeneko UI — AI-ready design system

  ✔ Detected: React (Vite)
  ✔ shadcn/ui detected

  ✔ Injected mikeneko-ui theme into src/index.css
  ✔ Created CLAUDE.md
  ✔ Created foundations/prohibited.md
  ✔ Added mikeneko-ui to .mcp.json

  🎨 Done! Your project now uses mikeneko-ui design tokens.

| ステップ | 内容 | |---------|------| | フレームワーク自動検出 | package.json から React / Next.js を判定。見つからなければ選択式 | | テーマ注入 | globals.css / index.css:root を mikeneko-ui カラー (oklch) で上書き | | CLAUDE.md 作成 | AI 向けクイックリファレンス。Claude Code / Cursor が自動で読む | | 禁止パターンコピー | foundations/prohibited.md — 76項目の「やってはいけないこと」 | | MCP 設定 | .mcp.json に MCP サーバーを追加。AI が get_token 等を呼べる |

React (Vite) vs Next.js

| | React (Vite) | Next.js | |---|---|---| | CSS 注入先 | src/index.css | src/app/globals.css | | その他 | 全く同じ | 全く同じ |


MCP サーバー

CLI には MCP サーバーが内蔵されている。.mcp.json が自動設定されるので、追加のインストールは不要。

AI ツール(Claude Code, Cursor 等)が以下のツールを使える:

| ツール | 説明 | |--------|------| | get_token | デザイントークン取得 (color, typography, spacing, elevation, radius, motion, zIndex) | | get_component | shadcn/ui コンポーネント仕様取得 (45コンポーネント) | | get_prohibited | 禁止パターン取得 (76項目) | | get_quick_reference | CLAUDE.md の内容を返す |

// .mcp.json(自動生成される)
{
  "mcpServers": {
    "mikeneko-ui": {
      "command": "npx",
      "args": ["-y", "mikeneko-ui", "mcp"]
    }
  }
}

Design Tokens

Primary: #2b70ef

50: #f0f5ff  100: #dde8ff  200: #c0d4ff  300: #95b6ff  400: #6492ff
500: #2b70ef  600: #2250df  700: #1a40b5  800: #13318d  900: #0e266a  950: #07194e

Typography

Font: Noto Sans JP, sans-serif
Body: 18px / line-height 2.0 / letter-spacing 0.02em
Heading: line-height 1.4 / letter-spacing 0.01em

CSS Variables (oklch)

:root {
  --primary: oklch(0.5765 0.2038 261.31);       /* #2b70ef */
  --background: oklch(0.9846 0.0017 247.84);    /* #f9fafb */
  --foreground: oklch(0.2077 0.0398 265.75);    /* #0f172a */
  --destructive: oklch(0.6368 0.2078 25.33);    /* #ef4444 */
  --border: oklch(0.9288 0.0126 255.51);        /* #e2e8f0 */
  --radius: 0.75rem;
}

Components (45 — shadcn/ui ベース)

| カテゴリ | コンポーネント | |---------|--------------| | Action | Button | | Input | Input, Textarea, Select, Checkbox, RadioGroup, Switch, Slider, Calendar, InputOTP, Toggle, ToggleGroup, Label, Command | | Data Display | Badge, Avatar, Table, Card, Carousel, Chart | | Navigation | Breadcrumb, Tabs, Pagination, NavigationMenu, Menubar, Sidebar | | Feedback | Alert, Sonner, Progress, Skeleton | | Overlay | Dialog, AlertDialog, Sheet, Drawer, DropdownMenu, ContextMenu, HoverCard, Popover, Tooltip | | Disclosure | Accordion, Collapsible | | Layout | AspectRatio, Separator, ScrollArea |


設計原則

  1. Layered — Background → Surface → Text の3層
  2. Contrast — WCAG 2.1 AA (4.5:1以上)
  3. Semanticbg-primarybg-blue-500
  4. Minimal — 1 View に3色まで
  5. Grid — 4px基本、8px推奨

禁止パターン(抜粋)

| 禁止 | 代替 | |------|------| | text-black | text-foreground | | shadow-lg / shadow-2xl | shadow-smshadow-md | | border-t-4 / border-l-4 | shadcn のデフォルトスタイル | | bg-blue-* ハードコード | bg-primary | | tracking-tight | letter-spacing: 0.01em / 0.02em | | 300ms超のアニメーション | 150〜300ms |

全76項目: foundations/prohibited.md


License

MIT

Acknowledgments