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

wjc-test-yuan-ui

v0.8.8

Published

yuan-ui - A Vue 3 + TypeScript Enterprise UI Component Library

Downloads

6

Readme

yuan-ui-vue3

vitepress文档有点展示的小问题,欢迎提交正确代码(PR)

一套基于 Vue 3 + TypeScript 的企业级(玩具级) UI 组件库。

特性

  • Vue 3 原生支持:基于 Vue 3.2+ 和 Composition API 开发
  • TypeScript 支持:完整的类型定义
  • 按需引入:支持按需加载,减少打包体积
  • 主题定制:支持 CSS 变量主题定制
  • 丰富的组件:包含 30+ 常用组件

安装

npm install yuan-ui-vue3

快速开始

全局引入

import { createApp } from 'vue'
import App from './App.vue'
import YuanUI from 'yuan-ui-vue3'
import 'yuan-ui-vue3/dist/style.css'

const app = createApp(App)
app.use(YuanUI)
app.mount('#app')

按需引入

import { mButton, mInput } from 'yuan-ui-vue3'
import 'yuan-ui-vue3/dist/style.css'

app.component('mButton', mButton)
app.component('mInput', mInput)

组件列表

基础组件

| 组件 | 说明 | |------|------| | Button 按钮 | 触发操作 | | Icon 图标 | 图标组件 | | Space 间距 | 间距组件 |

布局组件

| 组件 | 说明 | |------|------| | Layout 布局 | 栅格布局 |

表单组件

| 组件 | 说明 | |------|------| | Input 输入框 | 文本输入 | | Select 选择器 | 下拉选择 | | Checkbox 多选框 | 多选 | | Radio 单选框 | 单选 | | Switch 开关 | 开关切换 | | DatePicker 日期选择器 | 日期选择 | | ColorPicker 颜色选择器 | 颜色选择 |

导航组件

| 组件 | 说明 | |------|------| | DropDown 下拉菜单 | 下拉菜单 | | Tabs 标签页 | 标签页切换 |

数据展示

| 组件 | 说明 | |------|------| | Table 表格 | 数据表格 |

反馈组件

| 组件 | 说明 | |------|------| | Modal 对话框 | 模态对话框 | | Message 消息提示 | 全局消息 | | Loading 加载 | 加载指示器 |

开发

环境要求

  • Node.js 16+
  • npm 7+

启动开发

# 安装依赖
npm install

# 启动开发服务器
npm run dev

# 启动文档
npm run docs:dev

# 构建组件库
npm run build

# 运行测试
npm run test

项目结构

yuan-ui-vue3/
├── docs/                 # 文档
│   └── components/       # 组件文档
├── packages/             # 组件源码
│   ├── button/           # 按钮组件
│   ├── input/            # 输入框组件
│   ├── ...
│   └── index.js          # 入口文件
├── dist/                 # 构建输出
└── package.json

LICENSE

MIT