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

@ngochoinct/ui-builder

v1.0.9

Published

React 19, TypeScript và Tailwind CSS v4 cho giao diện học tập gamification phong cách Pixel Art 16-bit.

Readme

IQ Kids Pixel UI

React 19, TypeScript và Tailwind CSS v4 cho giao diện học tập gamification phong cách Pixel Art 16-bit.

Tài liệu chính

  • AGENTS.md — quy tắc và hướng dẫn sử dụng thư viện dành cho AI Agent.
  • WORKFLOW.md — kiến trúc, luồng phát triển và quy tắc UI.
  • ASSET_GUIDE.md — thư viện asset, manifest và registry.

AI Agent Support

Package này tích hợp sẵn quy tắc cho AI Agent tại file AGENTS.md.

Tự động thiết lập quy tắc cho AI Agent trong dự án tiêu dùng:

Chạy lệnh sau trong dự án bất kỳ đã cài đặt package để cài đặt quy tắc vào .agents/rules/iqkids-ui.md:

npx @ngochoinct/ui-builder init-agent
# hoặc
npx iqkids-ui init-agent

Các AI Agent (Antigravity, Cursor, Windsurf, Claude Code, Copilot) sẽ tự động nhận diện và áp dụng quy tắc:

  • Ưu tiên Mascot (<Mascot />): Bắt buộc dùng <Mascot /> cho mọi biểu cảm và trạng thái nhân vật, tuyệt đối không dùng Emoji.
  • Ưu tiên PixelIcon (<PixelIcon />): Sử dụng PixelIcon chính thức cho biểu tượng UI, chỉ số, phần thưởng.
  • Dùng background WebP: Sử dụng background WebP trong thư viện, không thay thế bằng màu CSS thuần.
  • Thứ tự ưu tiên asset: Mascot → PixelIcon → Background → Existing Asset → New Asset.

Cài đặt & Sử dụng

npm install @ngochoinct/ui-builder

Sử dụng React Components:

import { Mascot, PixelIcon, PixelBackground, AssetProvider } from "@ngochoinct/ui-builder/react";

function App() {
  return (
    <AssetProvider baseUrl="/assets">
      <PixelBackground name="bg-01-skyday" style={{ minHeight: "100vh" }}>
        <div className="p-8">
          <Mascot pose="cheer" size={96} />
          <PixelIcon name="coin-gold" size={32} />
        </div>
      </PixelBackground>
    </AssetProvider>
  );
}

Import trực tiếp Asset từ Package:

import bgSky from "@ngochoinct/ui-builder/assets/backgrounds/bg-01-skyday.webp";
import cheerMascot from "@ngochoinct/ui-builder/assets/mascot/cheer.webp";
import coinIcon from "@ngochoinct/ui-builder/assets/icons/coin-gold.webp";

Chạy dự án (Development)

Cấu trúc mã nguồn

manifest/        # Metadata cho từng nhóm asset
source/          # PNG gốc, không chỉnh sửa
src/assets/      # WebP dùng khi build
src/lib/assets.ts # Registry TypeScript duy nhất
src/components/  # Thành phần UI/HUD dùng lại
src/features/    # Thành phần và nghiệp vụ theo feature
src/styles/      # CSS toàn cục và design tokens