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

taro-ui-hd

v0.0.3

Published

基于Taro2.x的第三方组件库

Readme

TARO-UI-HD

前言

在 taro 生态中,已经有了 taro-ui 这样优秀且有官方支持的组件库,但是在有些场景下还是无法满足需求,如弹窗组件的功能不够丰富,定制性不够强;另外,有些组件是与设计风格强相关的,如果去修改 taro-ui 的样式,会变得麻烦且没有必要,有时甚至不如在项目中手写组件。基于这些情况,对于 taro-ui 中部分难以达到业务需求的组件做了补充,产生了 taro-ui-hd。

Installation

yarn add taro-ui-hd

为了使 taro-ui-hd 的组件在 h5 环境中的 px 自动转换为 rem,需要编辑 Taro 项目的 config/index.js 文件的 h5 对象, 加入 taro-ui-hd, 如下:

{
  h5: {
    esnextModules: ['taro-ui', 'taro-ui-hd'],
  }
}

然后重新启动项目,就可以在项目中使用 taro-ui-hd 中的组件了。

Components

| 组件 | 描述 | 状态 | | --------- | -------------------------------------------------- | ------ | | BackToTop | 返回顶部组件 | stable | | Card | 卡片组件 | stable | | Countdown | 倒计时组件 | stable | | Modal | 弹窗组件 | stable | | NoData | 缺省状态组件,含文字和描述,均可通过传入属性自定义 | stable | | Paging | 分页提示组件 | stable | | Tabs | 标签页组件 | stable |

使用

import { Paging } from 'taro-ui-hd'

render() {
  return (
    <Paging hasMore />
  )
}

更新日志

点此前往