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

@edsolater/uikit

v0.3.0

Published

SolidJS 基础组件与 hooks 组件库

Readme

UIKit

SolidJS 基础组件与 hooks 组件库。

这个仓库当前重点不是做大而全的设计系统,而是沉淀一组写组件所需的基础抽象原子、组件写法和本地验证方式。Piv 是当前最核心的 DOM 原子,但 src/base 不只等于 Piv。

先看什么

如果你第一次阅读这个项目,建议按这个顺序看:

更细的职责边界写在对应源码文件的文件头注释里。README 只保留项目入口信息,不展开实现细节。

项目结构

src/
  base/          写组件用的基础抽象原子
  components/    对外组件
  hooks/         对外 hooks
  App.tsx        本地 demo
  index.ts       发布入口
demo-app/        组件库验收应用集合
../ai-rules/     AI 写法约束项目,入口是 ../ai-rules/README.md

详细结构说明见 Architecture.md。

demo-app 里的内容不是正式业务项目,而是用来反向验证组件 API、token 和组合边界的小型验收场景。

技术栈

  • SolidJS
  • TypeScript
  • Vite
  • Storybook
  • Bun

本地命令

bun run dev
bun run build
bun run storybook
bun run build-storybook

bun run build 会同时执行 Vite 构建和类型声明检查,是提交前最基本的验证命令。

发布入口

包名是 @edsolater/uikit。

对外导出从 src/index.ts 进入,组件和 hooks 分别由 src/components、src/hooks 汇总导出。