{"id":29926670,"url":"https://github.com/ecomfe/santd","last_synced_at":"2025-08-02T12:43:08.557Z","repository":{"id":27956073,"uuid":"115699066","full_name":"ecomfe/santd","owner":"ecomfe","description":"San UI Toolkit for Ant Design","archived":false,"fork":false,"pushed_at":"2023-12-04T12:54:57.000Z","size":26011,"stargazers_count":76,"open_issues_count":7,"forks_count":42,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-25T08:05:22.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ecomfe.github.io/santd/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecomfe.png","metadata":{"files":{"readme":"README-zh_CN.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}},"created_at":"2017-12-29T07:32:13.000Z","updated_at":"2024-08-22T06:11:50.000Z","dependencies_parsed_at":"2023-02-19T07:01:03.169Z","dependency_job_id":null,"html_url":"https://github.com/ecomfe/santd","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/ecomfe/santd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsantd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsantd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsantd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsantd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomfe","download_url":"https://codeload.github.com/ecomfe/santd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsantd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268392180,"owners_count":24243297,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-02T12:42:32.121Z","updated_at":"2025-08-02T12:43:08.526Z","avatar_url":"https://github.com/ecomfe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ecomfe.github.com/santd\"\u003e\n    \u003cimg width=\"200\" src=\"https://b.bdstatic.com/searchbox/image/gcp/20191202/2915011424.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eAnt Design for San\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n一套基于 \u003ca href=\"https://ant.design/\"\u003eAnt Design\u003c/a\u003e 和 \u003ca href=\"https://baidu.github.io/san/\"\u003eSan\u003c/a\u003e 的企业级 UI 组件库\n\n[![](https://flat.badgen.net/npm/v/santd?icon=npm)](https://www.npmjs.com/package/santd) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\u003c/div\u003e\n\n[![](https://cdn-images-1.medium.com/max/2000/1*NIlj0-TdLMbo_hzSBP8tmg.png)](http://ecomfe.github.io/santd)\n\n[English](./README.md) | 简体中文\n\n## ✨ 特性\n\n- 提炼自企业级中后台产品的交互语言和视觉风格。\n- 开箱即用的高质量 San 组件。\n- 共享 [Ant Design of React](https://ant.design/docs/spec/introduce) 设计工具体系。\n\n## 🖥 支持环境\n\n- 现代浏览器和 IE9 及以上。\n- 支持服务端渲染。\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eIE / Edge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png\" alt=\"Opera\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eOpera |\n| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| IE9, IE10, IE11, Edge                                                                                                                                                                                           | last 2 versions                                                                                                                                                                                                   | last 2 versions                                                                                                                                                                                               | last 2 versions                                                                                                                                                                                               | last 2 versions                                                                                                                                                                                           |\n\n## 📦 安装\n\n**我们推荐使用npm来进行安装**，它会使你的开发更简单。\n\n```bash\n$ npm install santd --save\n```\n\n如果你的网络环境不佳，推荐使用 [cnpm](https://github.com/cnpm/cnpm).\n\n## 🔨 使用\n\n```jsx\nimport san from 'san';\nimport {DatePicker} from \"santd\";\n\nconst App = san.defineComponent({\n    components: {\n        's-datepicker': DatePicker\n    },\n    template: `\u003cdiv\u003e\u003cs-datepicker /\u003e\u003c/div\u003e`\n});\n\nconst myApp = new App();\nmyApp.attach(document.body);\n```\n\n手动加载样式\n\n```jsx\nimport \"santd/dist/santd.css\"; // or 'santd/dist/santd.less'\n```\n\n或者 [按需加载](https://ecomfe.github.io/santd/#docs/quickstart).\n\n## 🌍 国际化\n\n请查看 [i18n](http://ecomfe.github.io/santd/#docs/i18n).\n\n## 🔗 链接\n\n- [官网](https://ecomfe.github.io/)\n- [介绍](https://ecomfe.github.io/santd/#docs/introduce)\n- [San框架](https://baidu.github.io/san/)\n- [切换主题](http://ecomfe.github.io/santd/#/docs/theme)\n\n## ⌨️ 开发\n\n可以使用 Gitpod 进行在线开发：\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/ecomfe/santd)\n\n或者克隆到本地开发：\n\n```bash\n$ git clone git@github.com:ecomfe/santd.git\n$ cd santd\n$ npm install\n$ npm start button\n```\n\n打开浏览器访问 http://127.0.0.1:8822\n\n## 🤝 参与共建 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/ecomfe/santd/pulls)\n\n我们欢迎所有的共建者， 你可以 [pull requests](https://github.com/ecomfe/santd/pulls) 或 [GitHub issues](https://github.com/ecomfe/santd/issues).\n\n强烈推荐阅读 [《提问的智慧》](http://www.catb.org/~esr/faqs/smart-questions.html)、[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545) 和 [《如何有效地报告 Bug》](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html)、[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393)更好的问题更容易获得帮助。\n\n## ☀️ License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fsantd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomfe%2Fsantd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fsantd/lists"}