MCPcopy Index your code
hub / github.com/jd-opensource/taro-ui

github.com/jd-opensource/taro-ui @v3.3.3 sqlite

repository ↗ · DeepWiki ↗ · release v3.3.3 ↗
2,053 symbols 3,726 edges 634 files 7 documented · 0% 1 cross-repo links
README

Taro UI

NPM NPM Downloads david-dm License

一款基于 Taro 框架开发的多端 UI 组件库

特性

  • 基于 Taro 开发 UI 组件
  • 一套组件可以在 微信小程序支付宝小程序百度小程序H5ReactNative 多端适配运行
  • 提供友好的 API,可灵活的使用组件

关于 Taro

Taro 是由 凹凸实验室 倾力打造的多端开发解决方案。现如今市面上端的形态多种多样,Web、ReactNative、微信小程序等各种端大行其道,当业务要求同时在不同的端都要求有所表现的时候,针对不同的端去编写多套代码的成本显然非常高,这时候只编写一套代码就能够适配到多端的能力就显得极为需要。

使用 Taro,我们可以只书写一套代码,再通过 Taro 的编译工具,将源代码分别编译出可以在不同端(微信小程序、H5、RN等)运行的代码。

体验

请使用微信扫一扫以下体验码

QRCode

相关链接

安装

2.x

当 Taro 版本 < 3 时,使用 2.x 版本

$ npm install taro-ui@2.3.4

3.x

当 Taro 版本 ≥ 3 时,使用 3.x 版本

$ npm install taro-ui@latest

使用

在代码中 import 需要的组件并按照文档说明使用

import { AtButton } from 'taro-ui'

开发交流

官方微信交流群

开发计划

查看 Roadmap →

路线图

Taro UI 正在积极恢复维护中,当前重点完成 Monorepo 重构、CSS 预编译和 Taro v4 兼容性验证。详细规划请查看 ROADMAP.md

贡献

如果你在使用 Taro UI 时遇到问题,或者有好的建议,欢迎给我们提 IssuePull Request。在开始之前,请阅读 贡献指南

License

MIT

Extension points exported contracts — how you extend this code

AtFormProps (Interface)
(no doc)
packages/taro-ui/types/form.d.ts
ProcessEnv (Interface)
(no doc)
examples/lazy-load-component/types/global.d.ts
FloatLayoutPageState (Interface)
(no doc)
examples/demo-v4/src/pages/layout/float-layout/index.tsx
FloatLayoutPageState (Interface)
(no doc)
examples/demo-rn/src/pages/layout/float-layout/index.tsx
FloatLayoutPageState (Interface)
(no doc)
examples/demo/src/pages/layout/float-layout/index.tsx
AtRateProps (Interface)
(no doc)
packages/taro-ui/types/rate.d.ts
CardPageState (Interface)
(no doc)
examples/demo-v4/src/pages/layout/accordion/index.tsx
CardPageState (Interface)
(no doc)
examples/demo-rn/src/pages/layout/accordion/index.tsx

Core symbols most depended-on inside this repo

queryByClass
called by 40
packages/taro-ui/test/utils.js
onChange
called by 35
examples/demo/src/pages/form/search-bar/index.tsx
createHostComponent
called by 15
packages/taro-ui/test/__mock__/taroComponents.js
pxTransform
called by 14
packages/taro-ui/src/common/utils.ts
mergeStyle
called by 14
packages/taro-ui/src/common/utils.ts
onClick
called by 10
packages/taro-ui/src/components/fab/index.tsx
onClick
called by 9
packages/taro-ui/rn/components/fab/index.tsx
delayQuerySelector
called by 8
packages/taro-ui/src/common/utils.ts

Shape

Method 987
Class 732
Interface 249
Function 85

Languages

TypeScript100%

Modules by API surface

packages/taro-ui/types/calendar.d.ts14 symbols
packages/taro-ui/src/components/countdown/index.tsx14 symbols
packages/taro-ui/src/common/utils.ts14 symbols
packages/taro-ui/rn/components/countdown/index.tsx14 symbols
packages/taro-ui/src/components/indexes/index.tsx13 symbols
packages/taro-ui/rn/components/tabs/index.tsx13 symbols
packages/taro-ui/rn/components/indexes/index.tsx13 symbols
packages/taro-ui/rn/common/utils.ts13 symbols
docs/lib/animations/collapse-transition.jsx13 symbols
packages/taro-ui/src/components/tabs/index.tsx12 symbols
packages/taro-ui/src/components/range/index.tsx12 symbols
examples/demo/src/pages/basic/button/index.tsx12 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/core7.22.11 · 1×
@babel/eslint-parser7.22.15 · 1×
@babel/plugin-proposal-class-properties7.18.6 · 1×
@babel/plugin-syntax-dynamic-import7.8.3 · 1×
@babel/preset-env7.22.10 · 1×
@babel/preset-react7.22.5 · 1×
@babel/runtime7.7.7 · 1×
@commitlint/cli17.7.1 · 1×
@commitlint/config-conventional17.7.0 · 1×
@swc/core1.3.107 · 1×

For agents

$ claude mcp add taro-ui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact