Introduction

What is SrcubeUI Taro?

SrcubeUI Taro is a UI library for Taro.js that helps you build beautiful and modular cross-platform mini app user interfaces. Create on top of Tailwind CSS with Weapp Tailwind CSS and Taro Components.

SrcubeUI Taro provides a set of components and utilities in split sub-packages, so you can install the ones you need or all of them.

FAQ

What is SrcubeUI Taro & Taro Components differences?

  • SrcubeUI Taro:

    SrcubeUI Taro just a UI layer library build on top of Taro Components, and fully compatible with Taro Components API.

  • Taro Components:

    Taro Components is the official native components for build Taro.js cross-platform apps.

How SrcubeUI Taro deals with TailwindCSS classes conflicts?

We use the tailwind-variants library created by HeroUI Group, that automatically handles TailwindCSS class conflicts. This ensures your custom classes will consistently override the default ones, eliminating any duplication.

Does SrcubeUI Taro use runtime CSS?

No. As SrcubeUI Taro uses TailwindCSS as its style engine, it generates CSS at build time, eliminating the need for runtime CSS. This means that SrcubeUI Taro is fully compatible with the latest React and Taro.js versions.

Does SrcubeUI Taro support TypeScript?

Yes, SrcubeUI Taro is written in TypeScript and has full support for it.

Contributing

PRs on SrcubeUI Taro are always welcome!