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 🙏

© 2025 – Pkg Stats / Ryan Hefner

speed-ui-vue

v1.0.1

Published

Vue 3 UI 组件库

Readme

Speed UI

一个基于 Vue 3 的现代化 UI 组件库,提供丰富的组件和优秀的开发体验。

✨ 特性

  • 🎨 现代化设计 - 简洁美观的设计风格
  • 🚀 Vue 3 支持 - 基于 Vue 3 Composition API 开发
  • 📦 开箱即用 - 丰富的组件库,满足大部分业务需求
  • 🎯 TypeScript 支持 - 完整的 TypeScript 类型定义
  • 🌍 国际化 - 内置国际化支持
  • 📱 响应式设计 - 支持各种屏幕尺寸
  • 按需加载 - 支持 Tree Shaking,减小打包体积

📦 安装

# npm
npm install @speed-ui/ui

# yarn
yarn add @speed-ui/ui

# pnpm
pnpm add @speed-ui/ui

🚀 快速开始

完整引入

import { createApp } from 'vue'
import SpeedUI from '@speed-ui/ui'
import '@speed-ui/ui/styles'

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

按需引入

import { createApp } from 'vue'
import { SPButton, SPInput } from '@speed-ui/ui'
import '@speed-ui/ui/styles'

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

在组件中使用

<template>
  <div>
    <SPButton type="primary" @click="handleClick">
      点击我
    </SPButton>
    <SPInput v-model="inputValue" placeholder="请输入内容" />
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { SPButton, SPInput } from '@speed-ui/ui'

const inputValue = ref('')

const handleClick = () => {
  console.log('按钮被点击了!')
}
</script>

📋 组件列表

基础组件

  • Button - 按钮
  • ButtonGroup - 按钮组
  • Badge - 徽标
  • Tag - 标签
  • TagGroup - 标签组
  • Divider - 分割线
  • Space - 间距

表单组件

  • Input - 输入框
  • TextField - 文本字段
  • Textarea - 文本域
  • InputNumber - 数字输入框
  • Select - 选择器
  • Cascader - 级联选择器
  • Checkbox - 复选框
  • Radio - 单选框
  • RadioGroup - 单选框组
  • Switch - 开关
  • Slider - 滑块
  • Form - 表单
  • FormItem - 表单项

数据展示

  • Card - 卡片
  • List - 列表
  • Grid - 栅格
  • Collapse - 折叠面板
  • Progress - 进度条
  • ProgressLinear - 线性进度条
  • ProgressCircular - 环形进度条

导航组件

  • Menu - 菜单
  • Segmented - 分段控制器

反馈组件

  • Dialog - 对话框
  • MessageBar - 消息条
  • Notification - 通知
  • Loading - 加载
  • Tooltip - 文字提示
  • Note - 提示

其他组件

  • Overlay - 遮罩层
  • Tour - 漫游式引导
  • Combo - 组合框

🔧 开发

# 克隆项目
git clone <repository-url>

# 安装依赖
pnpm install

# 启动开发服务器
pnpm dev

# 构建组件库
pnpm build:ui

# 运行测试
pnpm test

📖 文档

访问我们的在线文档获取更详细的使用说明和示例。

🤝 贡献

我们欢迎所有的贡献。请阅读我们的贡献指南了解如何开始。

📄 许可证

MIT License

🙋‍♂️ 支持

如果你在使用过程中遇到问题,可以通过以下方式获取帮助:


Made with ❤️ by Speed UI Team