{"id":13801632,"url":"https://github.com/salt-ui/saltui","last_synced_at":"2025-05-13T11:31:35.714Z","repository":{"id":45637965,"uuid":"77821898","full_name":"salt-ui/saltui","owner":"salt-ui","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-10T04:58:17.000Z","size":5704,"stargazers_count":237,"open_issues_count":25,"forks_count":64,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-24T22:22:39.065Z","etag":null,"topics":["components","dingtalk","react","reactjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/salt-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-02T09:06:01.000Z","updated_at":"2025-03-04T22:49:12.000Z","dependencies_parsed_at":"2022-09-15T13:10:39.277Z","dependency_job_id":null,"html_url":"https://github.com/salt-ui/saltui","commit_stats":null,"previous_names":[],"tags_count":287,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salt-ui%2Fsaltui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salt-ui%2Fsaltui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salt-ui%2Fsaltui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salt-ui%2Fsaltui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salt-ui","download_url":"https://codeload.github.com/salt-ui/saltui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253932902,"owners_count":21986474,"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","dingtalk","react","reactjs"],"created_at":"2024-08-04T00:01:25.187Z","updated_at":"2025-05-13T11:31:30.701Z","avatar_url":"https://github.com/salt-ui.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n中文 | [English](./README_EN.md)\n\n# [SaltUI](https://salt-ui.github.io/)\n\n[![npm version](https://img.shields.io/npm/v/saltui.svg?style=flat-square)](https://www.npmjs.com/package/saltui) [![Dependency Status](https://img.shields.io/david/salt-ui/saltui.svg?label=deps\u0026style=flat-square)](https://david-dm.org/salt-ui/saltui) [![devDependency Status](https://img.shields.io/david/dev/salt-ui/saltui.svg?label=devDeps\u0026style=flat-square)](https://david-dm.org/salt-ui/saltui#info=devDependencies)\n\nSaltUI 是与钉钉官方合作的 React UI 组件库，致力于为钉钉微应用开发者以及其他 React 开发者提供高效、简洁、实用的组件化解决方案。\n\n## 特性\n\n* 与钉钉原生风格相匹配的视觉风格。\n* 提供针对钉钉 Native API 进行定制的组件\n* 60+ 的各种类型组件，满足常见开发需求。\n* 从设计到开发的全专业团队维护，着重于企业办公场景。\n\n## 演示 \u0026 组件文档\n\nhttps://salt-ui.github.io/\n\n## 安装\n\n```bash\n$ npm install saltui --save\n```\n\n## 使用\n\n### 引入 js\n```jsx\nimport { Button } from 'saltui';\nReactDOM.render(\u003cButton /\u003e, mountNode);\n```\n\n### 按需引入 js\n\n* 使用 [babel-plugin-import](https://github.com/ant-design/babel-plugin-import)（推荐）。\n\n\t```js\n\t// .babelrc or babel-loader option\n\t{\n\t  \"plugins\": [\n\t    [\"import\", { libraryName: \"saltui\", camel2DashComponentName: false }]\n\t  ]\n\t}\n\t```\n\n\t配置好后，引用方式不需要改变，即可实现按需加载。\n\n* 或者，手动引入\n\n\t```js\n\timport Button from 'saltui/lib/Button';\n\t```\n\n\n### 引入样式包\n```css\n@import '~saltui/build/salt-ui.css';\n```\n\n## 浏览器支持\n\n* iOS\n* Android 4.0+\n\n## React 支持\n\n* 0.14.9+\n\n## 集成开发工具\n\n1. 推荐使用 [Nowa](https://nowa-webpack.github.io/) 作为项目的开发工具\n\t* [Windows 版下载地址](https://alixux.org/downloads/nowa-gui.exe)\n\t* [Mac 版下载地址](https://alixux.org/downloads/nowa-gui.dmg)\n2. 选择 nowa-template-salt 项目模板 Create\n3. 点击 Start 启动项目，在浏览器中打开\n\n## 许可\n\n本项目基于 [MIT 协议](./LICENSE) 进行开发和发布。\n\n## 遇到问题\n\n* 可以通过 [FAQ](https://github.com/salt-ui/saltui/issues/10) 进行自查。\n* 关于使用上的疑问和合作相关事宜，可以通过钉钉反馈群与开发者直接取得联系。\n\n\u003cimg src=\"https://img.alicdn.com/tfs/TB17wNbesrI8KJjy0FhXXbfnpXa-877-1078.jpg\" width=\"300\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalt-ui%2Fsaltui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalt-ui%2Fsaltui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalt-ui%2Fsaltui/lists"}