Taroify is a React mobile component library for the Taro framework that gives developers a Vant-compatible UI toolkit for building mini-programs and H5 applications.
What it is
Taroify is the Taro React edition of the mobile component library Vant, built on the same visual specification and providing a largely consistent API so developers can move between the two with little friction. It is written in TypeScript with complete type definitions, ships more than 70 components covering mainstream mobile scenarios, and is organised as a monorepo whose capabilities are published as separate installable packages: @taroify/core for the core UI components and theme system, @taroify/icons for icon components, @taroify/hooks for React hooks aimed at component and business scenarios, @taroify/commerce for e-commerce extensions, @taroify/cli for an offline component-knowledge CLI with MCP and Agent Skill support, and @taroify/mcp for a standalone MCP service.
The concrete problem it addresses is the gap that opens when a team wants Vant's design language inside a Taro project targeting mini-programs and H5 at once: Vant itself is Vue-based and Vant Weapp is a separate WeChat mini-program build, so React teams using Taro would otherwise have to assemble their own component layer or adopt a library with a different look and API. Taroify replaces that gap by offering the same design specification with a React API that works across mini-program and H5 targets, while keeping components lightweight — an average size below 1KB minified and gzipped — with on-demand importing and Tree Shaking to keep build output small.
Key capabilities
- More than 70 components covering mainstream mobile scenarios, including commerce-oriented extensions in
@taroify/commerce.
- Full TypeScript source with complete type definitions across the packages.
- Theme customisation driven by more than 700 built-in theme variables.
- On-demand importing and Tree Shaking, with a recommended automatic on-demand configuration for smaller build output.
- Unit test coverage above 90 percent as a stability guarantee.
- Per-component style entry points, imported individually such as
@taroify/core/button/style.
- Separate packages for icons (
@taroify/icons), React hooks (@taroify/hooks), a CLI with MCP and Agent Skill (@taroify/cli), and a standalone MCP service (@taroify/mcp).
Who uses it and how
- Frontend developers adding UI to an existing Taro project by installing
@taroify/core and importing components such as Button directly in TSX files.
- Teams shipping both mini-program and H5 builds from one codebase who need consistent components and API across targets.
- Organisations building e-commerce interfaces that need the core components plus the
@taroify/commerce extension package.
- Contributors running the monorepo locally with
pnpm run install:node_modules and pnpm develop to launch the H5 component examples and documentation site.
- Integrators wiring component knowledge into agent tooling through
@taroify/cli and @taroify/mcp.
Getting started
Install the core package in an existing project with npm install @taroify/core (or the equivalent yarn add / pnpm add), then import a component and its style entry point such as import { Button } from "@taroify/core" and import "@taroify/core/button/style".
How it compares
Among the tools named alongside it, Taroify occupies the position that React Vant holds for plain React mobile development and Vant Weapp holds for WeChat mini-programs, but it is the one designed specifically for Taro React projects spanning mini-program and H5 targets. It credits Vant's design specification and component experience as its basis while distinguishing itself through Taro multi-end support and TypeScript-first typing.
When to use it — and when not to
It suits Taro React teams that want Vant's visual language and near-identical APIs without maintaining a Vue or Vant Weapp codebase alongside their app. Documentation and component examples are published in Chinese, which is a real consideration for teams working primarily in English, and the project carries 18 open issues, so a self-hoster evaluating it should review issue activity and the changelog at taroify.com before committing. Its MIT licence, 1098 stars, and a recent last push on 2026-10-03 suggest active maintenance rather than abandonment.
project readme (upstream, from github) — read inline
轻量、可靠、面向多端的 Taro React UI 组件库
基于 Vant 设计语言,为小程序与 H5 提供一致、类型安全且高度可定制的开发体验。
官网
·
快速上手
·
在线演示
·
CLI / MCP
·
讨论区
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 组织,各能力可以独立安装和组合:
本地开发
# 克隆仓库
git clone https://github.com/taroify/taroify.git
cd taroify
# 安装根目录、工作区和官网依赖
pnpm run install:node_modules
# 启动 H5 组件示例与文档站点
pnpm develop
更多仓库结构、组件开发与提交规范,请阅读
贡献指南。
社区
如果你发现问题、希望增加组件,或对 API 设计有建议,欢迎通过以下方式参与:
加入微信交流群

添加好友时请备注「taroify」,通过后邀请进群。
贡献者
感谢每一位为 Taroify 提交代码、文档、设计、Issue 与建议的贡献者。
部分图形设计来自 @BiscuitCoder。
生态与致谢
Taroify 的设计规范与大量组件经验来自 Vant。感谢
Vant 团队 多年来对移动端组件生态的持续投入,也感谢
JetBrains 为开源项目提供开发工具支持。
Vant 官方生态
社区生态与友情推荐
支持者
感谢
@Yorksh1re、
@akazwz、
@Yang、
@coderYarn、
@蔡包、
@王昆
以及所有支持 Taroify 的开发者。
License
MIT © Taroify Contributors