{"id":28124632,"url":"https://github.com/tarojsx/ui","last_synced_at":"2025-05-14T09:19:10.665Z","repository":{"id":38427001,"uuid":"242457215","full_name":"tarojsx/ui","owner":"tarojsx","description":"We reinvent the UI for taro3+","archived":false,"fork":false,"pushed_at":"2022-12-05T19:21:33.000Z","size":709,"stargazers_count":50,"open_issues_count":11,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-22T04:14:15.461Z","etag":null,"topics":["components","react","taro","taro-ui","taro3","typescript","ui","wechat","weixin","wx"],"latest_commit_sha":null,"homepage":"https://tarojsx.github.io/docs/ui/README","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarojsx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-23T04:39:43.000Z","updated_at":"2024-06-20T05:27:29.000Z","dependencies_parsed_at":"2023-01-24T06:45:10.781Z","dependency_job_id":null,"html_url":"https://github.com/tarojsx/ui","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Fui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Fui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Fui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarojsx%2Fui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarojsx","download_url":"https://codeload.github.com/tarojsx/ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110431,"owners_count":22016392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["components","react","taro","taro-ui","taro3","typescript","ui","wechat","weixin","wx"],"created_at":"2025-05-14T09:18:43.048Z","updated_at":"2025-05-14T09:19:10.657Z","avatar_url":"https://github.com/tarojsx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eTaro3 UI\u003c/h1\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003e我们重新(zào)发(lún)明(zi) \u003ca href=\"https://github.com/NervJS/taro-ui\" target=\"_blank\"\u003eTaro UI\u003c/a\u003e\u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://github.com/tarojsx/ui/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://badgen.net/github/license/tarojsx/ui\" alt=\"License\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/@tarojsx/ui\"\u003e\n        \u003cimg src=\"https://badgen.net/npm/v/@tarojsx/ui\" alt=\"npm version\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/org/tarojsx\"\u003e\n        \u003cimg src=\"https://badgen.net/npm/dt/@tarojsx/ui\" alt=\"npm downloads\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/tarojsx/ui/blob/master/package.json\"\u003e\n        \u003cimg src=\"https://badgen.net/github/dependents-pkg/tarojsx/ui\" alt=\"dependents\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://makeapullrequest.com\"\u003e\n        \u003cimg src=\"https://badgen.net/badge/PRs/welcome/green\" alt=\"PRs welcome\" /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    Built with :purple_heart: by\n    \u003ca href=\"https://github.com/cncolder\"\u003e@Colder\u003c/a\u003e and\n    \u003ca href=\"https://github.com/tarojsx/ui/graphs/contributors\"\u003e\n        Contributors\n    \u003c/a\u003e\n    \u003cdiv align=\"center\"\u003e\n        :star2: :eyes: :zap: :boom:\n    \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n_当前代码提交频繁, 一些特性时有变化._\n\nTaro3 释放了 React 的潜能, 是时候对 Taro UI 进行改进了.\n\n## 特性\n\n- :electric_plug: 一键安装, 使用上尽可能向后兼容.\n\n- :clapper: 复用 taro-ui 样式, 不改变组件外观.\n\n- :octopus: 扩展性更强, 许多原本只能传入字符串的地方, 现在可以传入组件了.\n\n- :mag_right: 完善的 Typescript 类型提示.\n\n- :gift: 开箱即用, 只需引入组件即可, 无需单独引入样式, 支持 Tree shaking.\n\n- :telescope: 未来计划引入更多常用的基础组件.\n\n## 需求\n\n- **taro 3+**\n- react 16.8+\n\n## 安装\n\n`npm i @tarojsx/ui`\n\n## 使用\n\n```tsx\nimport React from 'react';\nimport { Text } from '@tarojs/components';\nimport { List, ListHeader, ListItem } from '@tarojsx/ui';\n\nexport default () =\u003e {\n  return (\n    \u003cList\u003e\n      \u003cListHeader title=\"Taro3 UI\" /\u003e\n      \u003cListItem title=\"版本\" extra={\u003cText\u003e0.2.0\u003c/Text\u003e}\u003e\n        我们重新(zào)发(lún)明(zi)了 Taro UI\n      \u003c/ListItem\u003e\n    \u003c/List\u003e\n  );\n};\n```\n\n## 组件\n\n源于 Taro UI\n\n- [ ] Accordion\n- [x] ActionSheet\n  - [ ] 子组件\n- [x] ActivityIndicator\n- [ ] Article\n- [x] [Avatar](./docs/components/Avatar.mdx)\n- [x] [Badge](./docs/components/Badge.mdx)\n- [x] [Button](./docs/components/Button.mdx)\n- [x] Calendar\n  - [ ] Swipe 操作\n- [ ] Card\n- [ ] Checkbox\n- [ ] Countdown\n- [ ] Divider\n- [ ] Drawer\n- [ ] ~~Fab~~ (已合并入 Button)\n- [ ] ~~Flex~~ (使用率不高)\n- [x] FloatLayout\n- [x] Form\n- [x] Grid\n- [x] Icon\n- [x] ImagePicker\n- [ ] Indexes\n- [x] Input\n- [x] [InputNumber](./docs/components/InputNumber.mdx)\n- [x] [List](./docs/components/List.mdx)\n- [x] [ListItem](./docs/components/List.mdx)\n- [x] Loading\n- [ ] Loadmore\n- [x] Message\n- [ ] Modal\n- [ ] NavBar\n- [ ] Noticebar\n- [ ] Pagination\n- [ ] Picker\n- [x] [Progress](./docs/components/Progress.mdx)\n- [ ] Radio\n- [ ] Rate\n- [x] [SearchBar](./docs/components/SearchBar.mdx)\n- [ ] SegmentedControl\n- [ ] Slider\n- [x] [Steps](./docs/components/Steps.mdx)\n- [ ] SwipeAction\n- [ ] Swiper\n- [ ] Switch\n- [x] [TabBar](./docs/components/TabBar.mdx)\n- [x] Tabs\n  - [ ] Swipe 操作\n- [x] TabsPane\n  - [ ] Swipe 操作\n- [x] [Tag](./docs/components/Tag.mdx)\n- [x] Textarea\n- [ ] Timeline\n- [ ] Toast\n\n扩展组件\n\n- [x] [CustomTabBar](./docs/components/CustomTabBar.mdx)\n- [x] [ListHeader](./docs/components/List.mdx)\n- [x] Statistic\n\n## 支持\n\n欢迎各种形式的支持. 至少可以给颗星 :star:\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarojsx%2Fui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarojsx%2Fui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarojsx%2Fui/lists"}