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

yykaui

v0.1.12

Published

YYKAUI:React UI 组件库(49 个组件:通用/布局/导航/录入/展示/反馈)+ 6 套 CSS 变量主题,Tailwind 4 样式内置打包,宿主无需安装 Tailwind。

Readme

YYKAUI

React UI 组件库(49 个组件:通用/布局/导航/录入/展示/反馈)+ 6 套 CSS 变量主题。官网:https://www.yyka.cn

安装使用

npm install yykaui
import { Button, ThemeProvider } from 'yykaui'
import 'yykaui/style.css'

function App() {
  return (
    <ThemeProvider>
      <Button variant="gradient">Hello</Button>
    </ThemeProvider>
  )
}

样式已内置打包(Tailwind 工具类 + 6 套主题 CSS 变量),宿主无需安装 Tailwind; 不带全局 reset(preflight),不会污染宿主页面。要求 React 18+。

组件清单

组件库(src/components/ui/,目录=组件名):通用 Button/Icon/Typography/Space/Divider/Tag/BackTop · 布局 Layout/Menu/Card · 导航 Breadcrumb/Dropdown/Tabs/Pagination/Steps · 录入 Input/InputNumber/Textarea/Select/Form/Checkbox/Radio/Switch/Slider/Search/Segmented/Rate · 展示 Badge/Avatar/Progress/Empty/Table(排序/分页/选择列)/Descriptions/Statistic/List/Tree/Image/Timeline · 反馈 Alert/Spin/Skeleton/Modal/Drawer/Popconfirm/Message/Notification/Tooltip/Result · 主题 ThemeProvider + 6 套 CSS 变量主题 + --gradient-primary 渐变。

组件展示页:src/pages/ 每组件一页(示例+参数表格),右侧 Sider 手风琴菜单导航,App.tsx 仅布局壳。

加一个icon组件,用svg,内置常用图标集(Lucide 风格 24x24 stroke 图标),支持 size / 颜色跟随 / 线宽 / spin 旋转 / 自定义 children。

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc"],
  "options": {
    "typeAware": true
  },
  "rules": {
    "react/rules-of-hooks": "error",
    "react/only-export-components": ["warn", { "allowConstantExport": true }]
  }
}

See the Oxlint rules documentation for the full list of rules and categories.