{"id":13457752,"url":"https://github.com/youzan/zent","last_synced_at":"2025-05-13T15:12:48.107Z","repository":{"id":17180892,"uuid":"81299823","full_name":"youzan/zent","owner":"youzan","description":"A collection of essential UI components written with React.","archived":false,"fork":false,"pushed_at":"2025-04-14T02:20:53.000Z","size":94023,"stargazers_count":2252,"open_issues_count":21,"forks_count":381,"subscribers_count":82,"default_branch":"master","last_synced_at":"2025-05-09T19:11:24.436Z","etag":null,"topics":["component-library","components","hooks","javascript","react","typescript","ui-components","youzan"],"latest_commit_sha":null,"homepage":"https://youzan.github.io/zent","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/youzan.png","metadata":{"files":{"readme":"README-zh_CN.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-02-08T07:17:50.000Z","updated_at":"2025-04-23T12:08:21.000Z","dependencies_parsed_at":"2023-11-11T04:24:52.515Z","dependency_job_id":"debce22e-e49d-43dd-870b-bbed560ad2f7","html_url":"https://github.com/youzan/zent","commit_stats":{"total_commits":3774,"total_committers":107,"mean_commits":"35.271028037383175","dds":0.541335453100159,"last_synced_commit":"32722e3a184623fe0f379f7baa09ce85f3fa08e5"},"previous_names":[],"tags_count":910,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youzan%2Fzent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youzan","download_url":"https://codeload.github.com/youzan/zent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253969266,"owners_count":21992264,"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":["component-library","components","hooks","javascript","react","typescript","ui-components","youzan"],"created_at":"2024-07-31T09:00:35.681Z","updated_at":"2025-05-13T15:12:43.095Z","avatar_url":"https://github.com/youzan.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","目录","Projects List","🌐 Web Development - Frontend"],"sub_categories":["\u003ca id=\"ui\"\u003eui\u003c/a\u003e"],"readme":"\u003cp\u003e\n\t\u003ca href=\"https://github.com/youzan/\"\u003e\n\t\t\u003cimg alt=\"有赞logo\" width=\"36px\" src=\"https://img.yzcdn.cn/public_files/2017/02/09/e84aa8cbbf7852688c86218c1f3bbf17.png\" alt=\"youzan\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"Zent logo\" width=\"160px\" src=\"https://b.yzcdn.cn/public_files/2e7d4cf2f2ee0cf5f4abe894da2d515d.png\" \u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\tZent \u003csmall\u003e\u003cfont color=\"grey\"\u003e( \u0026#92;ˈzent\u0026#92; )\u003c/font\u003e\u003c/small\u003e, a collection of essential UI components written with React.\n\u003c/p\u003e\n\n![CI](https://github.com/youzan/zent/workflows/CI/badge.svg)\n[![npm version](https://img.shields.io/npm/v/zent.svg?style=flat)](https://www.npmjs.com/package/zent)\n[![bundle size](https://badgen.net/bundlephobia/minzip/zent)](https://bundlephobia.com/result?p=zent)\n[![coverage status](https://img.shields.io/coveralls/youzan/zent/master.svg?style=flat)](https://coveralls.io/github/youzan/zent?branch=master)\n[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](packages/zent/docs/CONTRIBUTING_zh-CN.md)\n\nZent ( \\ˈzent\\ ) 是有赞 PC 端 WebUI 规范的 React 实现，提供了一整套基础的 UI 组件以及一些常用的业务组件。\n\n目前我们有 50+ 组件，这些组件都已经在有赞的各类 PC 业务中使用，我们会在此基础上，持续开发一些新组件。\n\n我们的目标是让 React 项目开发更快、更简单。\n\n### 特性\n\n- 高质量的 React 基础组件以及丰富的业务组件\n- 内置 TypeScript 类型定义文件\n- 支持定制主题\n- 代码/样式按需加载\n- 一套有赞设计师绘制的图标库\n\n### 支持环境\n\n- React \u003e= 17\n- 现代浏览器，IE 除外\n- 支持服务端渲染(SSR)\n\n### 必须的 polyfill\n\n- `es6.object.assign`\n- `es6.object.is`\n- `es6.string.ends-with`\n- `es6.string.starts-with`\n- `es6.string.includes`\n- `es7.string.trim-left`\n- `es7.string.trim-right`\n- `es6.array.from`\n- `es6.array.of`\n- `es6.array.fill`\n- `es6.array.find`\n- `es6.array.find-index`\n- `es7.array.includes`\n\n## 安装\n\n```shell\nyarn add zent\n\n# or\n\nnpm install zent --save\n```\n\n## 组件文档\n\n[https://youzan.github.io/zent/zh/guides/install](https://youzan.github.io/zent/zh/guides/install)\n\n## 贡献代码\n\n修改代码请阅读我们的[开发指南](packages/zent/docs/CONTRIBUTING_zh-CN.md)。\n\n使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/zent/issues) 给我们，当然，我们也非常欢迎你给我们发 [PR](https://github.com/youzan/zent/pulls)。\n\n## 开源协议\n\n本项目基于 [MIT](https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89) 协议，请自由地享受和参与开源。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouzan%2Fzent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyouzan%2Fzent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouzan%2Fzent/lists"}