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

llh-web-components

v1.3.9

Published

web vue antdv echarts

Downloads

30

Readme

llh-ui 组件库

组件库简介

llh-ui 是一个基于 Vue3 的组件库,提供了多个常用的业务组件,包括表格、表单、上传、图表等功能组件。

组件列表

目前包含以下 6 个组件:

  1. ths-table - 增强版表格组件

    • 集成可选择表格、普通表格
    • 简化插槽使用
    • 集成数据加载中效果
  2. ths-form - 配置化表单组件

    • 支持控制一行展示几个表单组件
    • 支持所有 input 类型
    • 支持自定义插槽
  3. ths-upload - 普通附件上传组件

    • 支持文件上传、删除、下载
    • 支持自定义上传样式
    • 支持文件类型限制
  4. ths-upload-dragger - 拖拽附件上传组件

    • 支持拖拽上传
    • 支持文件列表管理
    • 支持自定义上传样式
  5. ths-img-upload - 图片上传组件

    • 支持图片上传、删除、预览
    • 支持图片回显
    • 支持多图片上传
  6. ths-echarts - 图表组件

    • 简化 echarts 的使用
    • 自动响应页面变化
    • 自动处理图表实例

组件详情

ths-table

点击查看

ths-form

点击查看

ths-search-form

点击查看

ths-upload

点击查看

ths-upload-dragger

点击查看

ths-img-upload

点击查看

ths-echarts

点击查看

使用说明

安装

npm install llh-ui

全局引入

import { createApp } from 'vue'
import App from './App.vue'
import LlhUI from 'llh-ui'

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

按需引入

import { ThsTable, ThsForm, ThsUpload } from 'llh-ui'

// 在组件中使用
export default {
  components: {
    ThsTable,
    ThsForm,
    ThsUpload
  }
}

注意事项

  1. 所有组件都基于 Vue3 开发,不支持 Vue2
  2. 部分组件依赖 Ant Design Vue,请确保项目中已安装
  3. 使用 echarts 组件需要安装 echarts 依赖
  4. 上传组件需要配置相应的上传接口

贡献指南

欢迎提交 issue 和 PR 来帮助改进这个组件库。

许可证

MIT