taro-ui

Integrate Taro UI components into Taro React projects with on-demand SCSS imports.

4|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/tiantangcao1980-web/DesignDNA-Skills --skill taro-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: taro-ui
Source: https://github.com/tiantangcao1980-web/DesignDNA-Skills/tree/main/designdna/skills/taro-ui
Command: npx skills add https://github.com/tiantangcao1980-web/DesignDNA-Skills --skill taro-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a guided approach to integrating Taro UI components into Taro React projects (2.x/3.x), enabling developers to implement consistent UI patterns quickly while avoiding deprecated workflows.

Core Features & Use Cases

  • On-demand SCSS imports for individual components to optimize bundle size
  • Large component catalog reference (AtButton, AtModal, AtTabs, AtSwipeAction, etc.) with usage notes
  • Migration guidance and best practices for moving to NutUI React if needed
  • Cross-platform support notes for WeChat MP, Alipay MP, and H5

Quick Start

Start by installing Taro UI in your Taro React project and begin using on-demand components to speed UI development.

Frequently Asked Questions about taro-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Taro UI components in a Taro React project?

To set up Taro UI in a Taro React project, install the library via npm and configure your project to support SCSS. You can then import individual components like AtButton on demand to optimize bundle size.

Does Taro UI support cross-platform development for WeChat and Alipay mini-programs?

Yes, Taro UI supports cross-platform development across WeChat Mini-Programs, Alipay Mini-Programs, and H5. It provides consistent UI components compatible with Taro 2.x and 3.x projects for these platforms.

What is the best way to optimize bundle size when using Taro UI?

The best way to optimize bundle size in Taro UI is through on-demand SCSS imports. This method allows you to load only the specific components required, rather than importing the entire component library.

Can I migrate from Taro UI to NutUI React in my Taro project?

Yes, you can migrate from Taro UI to NutUI React. The integration guide provides migration guidance and best practices to help transition your components and avoid deprecated workflows.

Why are my Taro UI components not working in my Taro 3.x application?

Taro UI components may not work if your project lacks proper SCSS configuration or uses incompatible setup patterns. Ensure you follow the specific installation and configuration requirements detailed for Taro 3.x projects.