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

solids-ui-kit

v0.1.1

Published

A modern Solid.js UI component library with Tailwind CSS

Downloads

3

Readme

Solids UI Kit

一个现代化的 Solid.js UI 组件库,基于 Tailwind CSS 构建。

特性

  • 🚀 基于 Solid.js 构建,性能卓越
  • 🎨 使用 Tailwind CSS v4,样式现代化
  • 📦 TypeScript 支持,类型安全
  • 🌙 支持深色模式
  • 📱 响应式设计
  • 🎯 Element UI 设计风格

安装

npm install solids-ui-kit
# 或
pnpm add solids-ui-kit
# 或
yarn add solids-ui-kit

使用

基础使用

import { Button } from 'solids-ui-kit';
import 'solids-ui-kit/styles';

function App() {
  return (
    <div>
      <Button variant="primary">点击我</Button>
    </div>
  );
}

按钮组件

import { Button } from 'solids-ui-kit';

// 不同变体
<Button variant="primary">主要按钮</Button>
<Button variant="success">成功按钮</Button>
<Button variant="warning">警告按钮</Button>
<Button variant="danger">危险按钮</Button>

// 不同样式类型
<Button styleType="solid">实心按钮</Button>
<Button styleType="outline">边框按钮</Button>
<Button styleType="ghost">幽灵按钮</Button>
<Button styleType="plain">朴素按钮</Button>

// 不同尺寸
<Button size="sm">小按钮</Button>
<Button size="md">中按钮</Button>
<Button size="lg">大按钮</Button>

// 形状变体
<Button round>圆角按钮</Button>
<Button circle icon={<span>♥</span>} />

// 带图标
<Button icon={<span>📁</span>}>打开文件</Button>

// 状态
<Button disabled>禁用状态</Button>
<Button loading>加载中...</Button>

API 文档

Button Props

| 属性 | 类型 | 默认值 | 说明 | |------|------|--------|------| | variant | 'default' \| 'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' | 'default' | 按钮变体 | | styleType | 'solid' \| 'outline' \| 'ghost' \| 'plain' | 'outline' | 样式类型 | | size | 'sm' \| 'md' \| 'lg' | 'md' | 按钮尺寸 | | round | boolean | false | 圆角按钮 | | circle | boolean | false | 圆形按钮 | | loading | boolean | false | 加载状态 | | disabled | boolean | false | 禁用状态 | | icon | JSX.Element | - | 图标元素 |

开发

# 克隆项目
git clone https://github.com/wllcyg/solids.git

# 安装依赖
pnpm install

# 启动开发服务器
pnpm dev

# 构建库
pnpm build:lib

许可证

MIT License

贡献

欢迎提交 Issue 和 Pull Request!