taro-ink

UI KIT for Taro

Usage no npm install needed!

<script type="module">
  import taroInk from 'https://cdn.skypack.dev/taro-ink';
</script>

README

Taro Ink

npm (scoped) GitHub issues GitHub forks GitHub stars GitHub license

前言

基于 Taro 框架开发的 React 版本的多端 UI 组件库

文档

Taro Ink 正处于开发阶段,可能会出现重大改动,请谨慎使用。

特性

  • 基于 Taro 开发的 UI 组件
  • 微信小程序 / H5 多端适配运行(支付宝小程序 / 百度小程序 / 字节跳动小程序 端未测试,ReactNative 端暂不支持)
  • 支持按需引入
  • 支持 Typescript

安装

# 使用 npm
npm i taro-ink

# 使用 yarn
yarn add taro-ink

使用

import { Button } from 'taro-ink';
// 按需引入所用组件的样式文件
import 'taro-ink/dist/style/components/icon.scss';
import 'taro-ink/dist/style/components/loading.scss';
import 'taro-ink/dist/style/components/button.scss';

开发计划