快速搭建美观的 React 应用。由抖音前端与 UED 团队维护。 https://semi.design/

linyan 9674f82f19 chore: add node options to publish yml há 2 anos atrás
.codesandbox bf853a8bda feat(icon): add double_chevron_left,double_chevron_right icons #260 (#341) há 3 anos atrás
.github 9674f82f19 chore: add node options to publish yml há 2 anos atrás
.storybook 6f44d7e0d2 chore: remove useless storybook v5 config há 3 anos atrás
.vscode a1aba4ae8d fix: single select will flush when filter is true, close #1207 (#1276) há 3 anos atrás
content 77e2aa359e docs(changelog): v2.30.0 update há 2 anos atrás
cypress db38dcfb10 Merge branch 'main' into release há 2 anos atrás
packages 088aebd456 chore: chahge build icon há 2 anos atrás
plugins f76bd5879d feat: init há 4 anos atrás
scripts 72169a18fa build: fix changelog feat type bug há 2 anos atrás
search 708df1978f chore: update search data há 3 anos atrás
src f0e656295c Docs/add d2c (#1426) há 2 anos atrás
static ed6798dead docs: update v2.7.0 changelog há 3 anos atrás
test 5244bea095 chore: add jest resizeobserver polyfill há 3 anos atrás
.commitlintrc.js f76bd5879d feat: init há 4 anos atrás
.eslintignore f76bd5879d feat: init há 4 anos atrás
.eslintrc.js 08776929ba Merge branch 'release' into js2css há 3 anos atrás
.gitattributes 8337c6d90a Update .gitattributes há 3 anos atrás
.gitignore f8d62f4c66 test: [Image] add test cases for Image (#1236) há 3 anos atrás
.lighthouserc.js fb91638513 chore(ci): lighthouse (#380) há 3 anos atrás
.npmrc 37f53d3a5e chore: update yarn.lock há 3 anos atrás
.prettierrc.js f76bd5879d feat: init há 4 anos atrás
.stylelintrc.js f76bd5879d feat: init há 4 anos atrás
CODE_OF_CONDUCT.md 0e46959d60 Create CODE_OF_CONDUCT.md há 4 anos atrás
CONTRIBUTING-en-US.md 110db20637 docs: update CONTRIBUTING.md há 3 anos atrás
CONTRIBUTING.md d7e8271733 docs: update CONTRIBUTING.md há 3 anos atrás
LICENSE 15deb4dd41 Update LICENSE há 4 anos atrás
README-zh_CN.md 5a03209c5e docs: update readme há 3 anos atrás
README.md 17ddf8b6c8 docs: update readme há 2 anos atrás
babel.config.js f76bd5879d feat: init há 4 anos atrás
cypress.json 19d7accbee feat(tooltip): leftTopOver supports autoAdjustOverflow #294 (#551) há 3 anos atrás
favicon.ico f76bd5879d feat: init há 4 anos atrás
gatsby-browser.js f76bd5879d feat: init há 4 anos atrás
gatsby-config.js 66559b4561 chore: add cdn config há 3 anos atrás
gatsby-node.js 08fa65b30f fix: fix gatsby bug https://github.com/gatsbyjs/gatsby/issues/21462 há 2 anos atrás
gatsby-ssr.js f76bd5879d feat: init há 4 anos atrás
jest.config.js 591051eb86 test: add istanbul ignore to some file and update jest exclude config há 3 anos atrás
lerna.json cf2c6529fb v2.29.0 há 2 anos atrás
nyc.config.js 591051eb86 test: add istanbul ignore to some file and update jest exclude config há 3 anos atrás
package.json 7b5bbb6d70 feat: [Cascader] added filterSorter, filterRender API, filterTreeNode third params, close #1355, #1350, #1104 há 2 anos atrás
tsconfig.eslint.json f76bd5879d feat: init há 4 anos atrás
tsconfig.json ef2531c8be Fix strict ts (#314) há 3 anos atrás
yarn.lock debae493da chore: update lock file há 2 anos atrás

README-zh_CN.md

Semi-UI

现代、全面、灵活的设计系统和 UI 库。 致力打通 DesignOps & DevOps ,快速搭建美观的 React 应用。

[![NPM][npm-badge]][npm-url] [![FIGMA][figma-badge]][figma-url] [![LICENSE][license-badge]][license-url] [![BUILD-JS][build-js-badge]][build-js-url] [![BUILD-CSS][build-css-badge]][build-css-url] [![CODECOV][codecov-badge]][codecov-url] [![Chromatic][chromatic-badge]][chromatic-url] [![Cypress][cypress-badge]][cypress-url]

简体中文 | English

🎉 特性

  • 💪 60+高质量组件
  • 💕 完善的无障碍支持,为所有组件提供遵循 W3C 标准的键盘交互、焦点管理和语义化
  • 🎨 设计系统管理工具 Semi DSM,多达2000+ Design Token,快速定制你的专属设计系统
  • 🌍 国际化支持 17 种语言,提供完备的多语言、多时区、RTL支持
  • 💅 Code2Design,根据不同主题自动生成 Figma UI Kit,保持代码与设计同源
  • 🚀 强大的 Design2Code支持,设计稿一键转代码,快速构建应用
  • ⚙️ 稳定的质量保障,覆盖单元测试、E2E测试、视觉回归测试等多种测试手段
  • 🥳 支持 SSR
  • 👏 使用 TypeScript, 良好的类型定义,基于 Foundation / Adapter 架构,源码易于阅读 / 贡献

🔥 安装

# 使用 npm
npm install @douyinfe/semi-ui

# 使用 yarn
yarn add @douyinfe/semi-ui

👍 使用

这是一个快速开始的例子:

import React from 'react';
import ReactDOM from 'react-dom';
import { Button, Switch } from '@douyinfe/semi-ui';

const App = () => (
    <>
        <Button type='primary'>primary button</Button>
        <Switch size='large' />
    </>
);

ReactDOM.render(<App />, document.querySelector('#app'));

Semi UI 官网 拥有上千个支持实时调试的例子,欢迎体验使用。

📌 文档

👌 平台支持

Semi UI 支持所有主流浏览器。

|chrome
chrome|firefox
firefox|safari
safari|IE/Edge
IE/Edge|electron
Electron| |--|--|--|--|--| | latest 2 versions | latest 2 versions | latest 2 versions | Edge | latest 2 versions |

👐 贡献指南

阅读贡献指南了解我们的开发流程,包括开发规范、测试规范和构建规范等。

CONTRIBUTING

👨‍👨‍👧‍👦 交流群

有任何问题可以进群交流,我们会及时给予解答和反馈。

加入用户群.

💖 Thanks

Chromatic

感谢 Chromatic 提供可视化测试平台,帮助我们审查 UI 更改和提供视觉回归测试。

Cypress

感谢 Cypress 提供 E2E 测试。

🎈 协议

Semi UI 使用 MIT 协议