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

@hbdlzy/ui

v0.1.9

Published

Company unified UI entry package.

Readme

@hbdlzy/ui

@hbdlzy/ui 是组件库的统一安装入口包。

适用场景

  • 希望业务项目只安装一个包
  • 希望后续新增组件时不再增加安装命令
  • 希望统一从一个入口导入组件和工具

安装

npm install @hbdlzy/ui

使用方式

全局注册所有组件

业务项目入口推荐这样接入,之后页面里可以直接写 <BaseTable /><BaseCard /><OutlinedInput /> 等组件:

import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import '@hbdlzy/ui/style.css'
import HbdlUI from '@hbdlzy/ui'
import App from './App.vue'

createApp(App)
  .use(ElementPlus, { locale: zhCn })
  .use(HbdlUI)
  .mount('#app')

按需导入

页面或组合式函数里需要类型、工具或局部注册时,可以继续从统一入口导入:

import '@hbdlzy/ui/style.css'

import {
  BaseTable,
  BaseCard,
  BaseEChart,
  BaseExportButton,
  SvgIcon,
  OutlinedInput,
  OutlinedSelect,
  OutlinedDatePicker,
  OutlinedDateTimePicker,
  OutlinedTimePicker,
  OutlinedCascader,
  OutlinedTreeSelect,
  Ripple,
  installRipple,
  uninstallRipple,
  companyTokens,
  echarts
} from '@hbdlzy/ui'

导入 @hbdlzy/ui 后会自动为项目里的按钮启用点击涟漪效果,覆盖原生 button、Element Plus el-button 以及 radio/checkbox button 形态。局部不需要时,可在按钮或父级元素上添加 data-hbdl-ripple="false"

全局点击涟漪

推荐业务项目在入口统一导入:

import '@hbdlzy/ui'

需要显式控制安装时机时,也可以按 Vue 插件使用:

import { createApp } from 'vue'
import { Ripple } from '@hbdlzy/ui/ripple'
import App from './App.vue'

createApp(App).use(Ripple).mount('#app')

当前聚合内容

  • 设计令牌:@hbdlzy/tokens
  • 基础组件:@hbdlzy/ui-core
  • 业务域组件:@hbdlzy/ui-energy

当前可直接使用的组件与工具

  • BaseTable
  • BaseCard
  • BaseEChart
  • BaseExportButton
  • SvgIcon
  • OutlinedInput
  • OutlinedSelect
  • OutlinedDatePicker
  • OutlinedDateTimePicker
  • OutlinedTimePicker
  • OutlinedCascader
  • OutlinedTreeSelect
  • echarts
  • exportExcel
  • companyTokens
  • Ripple
  • installRipple
  • uninstallRipple

详细文档入口

AI 使用指令

在新项目中,可以直接对 AI 使用这句固定指令:

本项目使用 @hbdlzy/ui 组件库。开始实现前,请先读取 node_modules/@hbdlzy/ui/AI-USAGE.md,并按其中规则建立组件清单。后续优先复用已有公共组件和工具,新增页面默认从 @hbdlzy/ui 导入。

说明

  • 该包内部依赖 @hbdlzy/tokens@hbdlzy/ui-core@hbdlzy/ui-energy
  • 推荐在应用入口显式导入 @hbdlzy/ui/style.css,统一加载设计变量和基础组件样式
  • 新项目中如果希望 AI 能稳定复用组件,优先让它先读 package.manifest.jsonAI-USAGE.md