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

@taroify/core

v1.0.6

Published

<div align="center"> <p align="center"> <img alt="logo" src="https://img.yzcdn.cn/vant/logo.png" width="120" style="margin-bottom: 10px;"> </p> <p> <strong>轻量、可靠、面向多端的 Taro React UI 组件库</strong> </p>

Downloads

7,522

Readme


Taroify 是什么

Taroify 是移动端组件库 Vant 的 Taro React 版本,两者基于相同的视觉规范,提供近似一致的 API 接口,助力开发者快速搭建小程序应用。

✨ 特性

  • 🚀 性能极佳,组件平均体积小于 1KB(min+gzip)
  • 💎 70+ 个高质量组件,覆盖移动端主流场景
  • 💪 使用 TypeScript 编写,提供完整的类型定义
  • 💪 单元测试覆盖率超过 90%,提供稳定性保障
  • 📖 提供完善的中文文档和组件示例
  • 🍭 支持 React
  • 🍭 支持主题定制,内置 700+ 个主题变量
  • 🍭 支持按需引入和 Tree Shaking

浏览器支持

支持现代浏览器以及 Chrome >= 51、iOS >= 10.0。

安装

在现有项目中使用 Taroify 时,可以通过 npm 进行安装

快速开始

安装

npm install @taroify/core

也可以使用 Yarn 或 pnpm:

yarn add @taroify/core

pnpm add @taroify/core

使用组件

import { Button } from "@taroify/core"
import "@taroify/core/button/style"

export default function Index() {
  return <Button color="primary">开始使用 Taroify</Button>
}

推荐配置自动按需引入,以获得更简洁的源码和更小的构建产物。完整配置请查看 快速上手

Packages

Taroify 采用 Monorepo 组织,各能力可以独立安装和组合:

| Package | 说明 | | :--------------------------------------------------------------------- | :------------------------------- | | @taroify/core | 核心 UI 组件与主题系统 | | @taroify/icons | Taro React 图标组件 | | @taroify/hooks | 面向组件与业务场景的 React Hooks | | @taroify/commerce | 电商场景扩展组件 | | @taroify/cli | 离线组件知识 CLI、MCP 与 Agent Skill | | @taroify/mcp | 现有独立 MCP 服务 |

本地开发

# 克隆仓库
git clone https://github.com/taroify/taroify.git
cd taroify

# 安装根目录、工作区和官网依赖
pnpm run install:node_modules

# 启动 H5 组件示例与文档站点
pnpm develop

更多仓库结构、组件开发与提交规范,请阅读 贡献指南

社区

如果你发现问题、希望增加组件,或对 API 设计有建议,欢迎通过以下方式参与:

贡献者

感谢每一位为 Taroify 提交代码、文档、设计、Issue 与建议的贡献者。

部分图形设计来自 @BiscuitCoder

生态与致谢

Taroify 的设计规范与大量组件经验来自 Vant。感谢 Vant 团队 多年来对移动端组件生态的持续投入,也感谢 JetBrains 为开源项目提供开发工具支持。

| 项目 | 描述 | | :------------------------------------------------------------------------------------------ | :----------------------- | | Vant | Vant Vue 版 | | Vant Weapp | Vant 微信小程序版 | | Vant Demo | Vant 官方示例合集 | | Vant CLI | 开箱即用的组件库搭建工具 | | Vant Icons | Vant 图标库 | | Vant Touch Emulator | 桌面端触摸事件模拟工具 |

| 项目 | 描述 | | :------------------------------------------------------------------- | :----------------------------------- | | React Vant | 参照 Vant 打造的 React 移动端组件库 | | mockm | 面向前端开发的接口模拟工具 | | taro-hooks | 为 Taro 设计的 Hooks Library | | tarojs-router-next | 提供类型提示与参数能力的 Taro 路由库 |

支持者

感谢 @Yorksh1re@akazwz@Yang@coderYarn@蔡包@王昆 以及所有支持 Taroify 的开发者。

License

MIT © Taroify Contributors