{"id":19346706,"url":"https://github.com/antmjs/vantui","last_synced_at":"2025-05-15T15:03:34.828Z","repository":{"id":37101473,"uuid":"406590369","full_name":"AntmJS/vantui","owner":"AntmJS","description":"基于vant-weapp实现的Taro-React版及H5-React版组件库https://antmjs.github.io/vantui/#/home","archived":false,"fork":false,"pushed_at":"2024-03-13T09:47:50.000Z","size":173133,"stargazers_count":665,"open_issues_count":47,"forks_count":88,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-13T21:12:45.552Z","etag":null,"topics":["react","taro","typescript","vantui"],"latest_commit_sha":null,"homepage":"https://antm-js.gitee.io/vantui/#/home","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/AntmJS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-09-15T02:43:19.000Z","updated_at":"2024-04-12T05:51:37.000Z","dependencies_parsed_at":"2023-09-23T01:57:53.274Z","dependency_job_id":"99abea2e-fad9-411b-9f57-f96670808448","html_url":"https://github.com/AntmJS/vantui","commit_stats":{"total_commits":814,"total_committers":37,"mean_commits":22.0,"dds":0.64004914004914,"last_synced_commit":"922e520b0b3423e18fc74750b20bce7899de7f39"},"previous_names":[],"tags_count":140,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Fvantui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Fvantui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Fvantui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AntmJS%2Fvantui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AntmJS","download_url":"https://codeload.github.com/AntmJS/vantui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704569,"owners_count":20982298,"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":["react","taro","typescript","vantui"],"created_at":"2024-11-10T04:11:42.745Z","updated_at":"2025-04-07T18:11:23.255Z","avatar_url":"https://github.com/AntmJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv class=\"card\"\u003e\n  \u003cdiv class=\"intro\" style=\"width:160px; text-align: center; padding: 20px;\"\u003e\n    \u003cimg class=\"intro__logo\" width=\"120\" style=\"width: 120px; height: 120px; box-shadow: none;\" src=\"https://raw.githubusercontent.com/AntmJS/vantui/main/resource/log.jpeg\"\u003e\n    \u003ch2 style=\"margin: 0; font-size: 32px; line-height: 60px;\"\u003e@antmjs/vantui\u003c/h2\u003e\n    \u003cp\u003e基于有赞 VantWeapp 开发的同时支持 Taro 和 React 的 UI 库\u003c/p\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n### 相关链接\n\n- [Vant Weapp](https://github.com/youzan/vant-weapp)：由有赞团队打造的轻量、可靠的微信小程序 UI 组件库\n- [Taro](https://github.com/NervJS/taro)：由京东团队打造的开放式跨端跨框架解决方案，支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用\n\n### 为什么是高度一致\n\n- 99% 样式文件迁移\n\n- 100% React 化，在 React 化的过程中保留了有赞的大部分 JS 逻辑，尽可能的少重构！\n\n- 10+ 项目接入中\n\n### 我们带来了什么\n\n- 使用 TypeScript 编写，提供完整的类型定义\n\n- 支持 Taro(H5、微信小程序、支付宝小程序、抖音小程序...)(注：React Native 不支持)\n\n- 与 VantWeapp 的 UI 和 API 尽可能的保持一致\n\n- 50+ 个高质量组件，覆盖移动端主流场景\n\n- 支持主题定制\n\n- 支持按需加载\n\n### 为什么你可以放心用\n\n- 背景：整个组件库初期是依赖开源项目 Vant Weapp 的代码经过全量编译而来，所有样式文件及代码结构都与其保持高度一致，只是生命周期经过改造使其支持 React，很大程度避免了重新造轮子带来的各种问题\n\n- 组件库本身无法 100%满足大众个性化的 UI 需求，如果有个性化需求的可以自己通过改主题定制或 class 或 style 的形式满足自己的要求\n\n\u003e 如果觉得不错，给个 Star 哦\n\n### 学习链接\n\n- [github 文档](https://antmjs.github.io/vantui/#/home)\n- [gitee 文档](https://antm-js.gitee.io/vantui/#/home)\n\n### 预览\n\n\u003cimg style=\"width: 140px; height: 140px; box-shadow: none;\" src=\"https://antm-js.gitee.io/resource/vantui-weapp.png\" /\u003e\n\u003cimg style=\"width: 140px; height: 140px; box-shadow: none;\" src=\"https://antm-js.gitee.io/resource/vantui-h5.png\" /\u003e\n\n### 贡献代码\n\n使用过程中发现任何问题都可以提 [Issue](https://github.com/antmjs/vantui/issues) 给我们，当然，我们也非常欢迎你给我们发 [PR](https://github.com/antmjs/vantui/pulls)\n\n### 发布\n\n- 根目录需要创建 temp.js 文件\n\n```js\nmodule.exports = {\n  gitAuth: 'xxxx', // git token\n  webhooksToken:\n    'xxx', // 钉钉\n}\n- yarn release\n\n```\n\n### 开源协议\n\n本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议，请自由地享受和参与开源\n\n### 参与共建\n\n小电科技创新事业部前端团队\n\n### 特别声明\n\n- 该组件库并不是一个新的轮子，我们只是得益于有赞团队在 vant-weapp 的多年实践、积累、沉淀上做了一些简单的扩展，让它可以以 Taro/React 的方式进行开发接入。\n\n- 我们是 vant-weapp 的锦上添花版本，在此还是需要感谢 Taro 团队以及有赞团队为社区所作出的贡献。\n\n- Logo 暂时还未获得使用许可，如有侵权，请及时联系我们。\n\n### 以下是 @antmjs/vantui 的核心贡献者们\n\n| [![hisanshao](https://avatars.githubusercontent.com/u/26359618?s=100\u0026v=4)](https://github.com/hisanshao/) | [![Chitanda60](https://avatars.githubusercontent.com/u/16026533?s=100\u0026v=4)](https://github.com/Chitanda60/) | [![zuolung](https://avatars.githubusercontent.com/u/19684540?s=100\u0026v=4)](https://github.com/Banlangenn/) | [![hisanshao](https://avatars.githubusercontent.com/u/28145148?s=100\u0026v=4)](https://github.com/zuolung/) |\n| :-------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: |\n|                                [hisanshao](https://github.com/hisanshao/)                                 |                                [Chitanda60](https://github.com/Chitanda60/)                                 |                               [Banlangenn](https://github.com/Banlangenn/)                               |                                 [zuolung](https://github.com/zuolung/)                                  |\n\n### 贡献者们\n\n感谢以下小伙伴们为 @antmjs/vantui 发展做出的贡献：\n\n\u003ca href=\"https://github.com/AntmJS/vantui/graphs/contributors\"\u003e\n  \u003cimg src=\"https://opencollective.com/vantuiantmjs/contributors.svg?width=890\u0026button=false\" alt=\"contributors\"\u003e\n\u003c/a\u003e\n\n### 快速沟通群\n\n微信群满 200 人，需手动拉群。添加好友请备注“AntmJS”，我们会尽快拉你进群交流\n\n\u003cdiv style=\"display:inline-block;\"\u003e\n\u003cimg style=\"width:300px\" src=\"https://antmjs.github.io/vantui/resource/chat.png\" /\u003e\n\u003c/div\u003e\n\n### 赞助\n\n \u003cimg style=\"width:300px\" src=\"https://raw.githubusercontent.com/AntmJS/vantui/main/resource/abcd.png\" alt=\"contributors\"\u003e\n\n募捐款项将全部用于项目维护，对于社区提出优质 PR 的成员给予奖励，可以是一杯奶茶、一个小红包等\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmjs%2Fvantui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantmjs%2Fvantui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantmjs%2Fvantui/lists"}