DaiQiangReal dd6b212102 fix: chang api name 1 year ago
..
_base 436bec6819 fix: select multiple filter, last line tag padding higher than other, close #1667 (#2151) 1 year ago
_cssAnimation 73401f34e4 fix: fix tooltip animation in react18 #1225 (#1227) 3 years ago
_portal dc6f3f7fee fix: optimize code 2 years ago
_sortable 1d5f248c93 fix: Fixed the issue in Transfer that quick drag failed due to too long drag sensing delay time 1 year ago
_test_ d4c3d4b522 chore: use eslint to format code (#1162) 3 years ago
_utils c638a58812 perf: optimize typography calculation (#1970) 1 year ago
anchor d4b9f3276b feat: pass data-* attribute to dom (#1630) 2 years ago
autoComplete 575577f1f3 fix: fix click outside handler in webcomponent (#2084) 1 year ago
avatar 8bf0ec01aa feat: some api 1 year ago
backtop c11d80cdad fix(backtop): backtop should add throttle 1 year ago
badge dd6b212102 fix: chang api name 1 year ago
banner 34f8872659 fix: icon proptypes define, remove useless string type which only work in v1 1 year ago
breadcrumb 34f8872659 fix: icon proptypes define, remove useless string type which only work in v1 1 year ago
button 8bf0ec01aa feat: some api 1 year ago
calendar 575577f1f3 fix: fix click outside handler in webcomponent (#2084) 1 year ago
card e98352e6d5 test: replace demo text 1 year ago
carousel 0f0a2af917 chore: fix wrong spelling (#1814) 2 years ago
cascader af8fca260f Merge branch 'release' 1 year ago
checkbox e98352e6d5 test: replace demo text 1 year ago
collapse 51cb12fea7 fix: fix collapsible keepDOM 1 year ago
collapsible de0b0bac47 chore: change test 1 year ago
configProvider 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
datePicker 694e033075 chore: update DatePicker and Table storybook chromatic 1 year ago
descriptions e5d53e0280 fix: [Descriptions] Children are not read directly in foundation, but adapter get is used to adapt to other frameworks. Adjust the calculation of horizontal colspan value to automatically complete the remaining part(#2121) 1 year ago
divider fd9f597550 Chore: update storybook & Webpack & Cypress (#1589) 2 years ago
dropdown 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
empty d4b9f3276b feat: pass data-* attribute to dom (#1630) 2 years ago
form 6d67d6fa25 Merge branch 'main' of github.com:DouyinFE/semi-design 1 year ago
grid 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
highlight ee4f9b2c72 New Component Highlight (#1281) 3 years ago
iconButton 8bf0ec01aa feat: some api 1 year ago
icons d7ce8db958 test: update storybook filename (#1161) 3 years ago
image d5a2bb4fa5 feat: [Image] Image supports imgCls and imgStyle APIs for transparently transmitting styles to img nodes 1 year ago
input 50dffeeb7f test: update input.stories.jsx autoFocus (#2232) 1 year ago
inputNumber c57882d5b3 fix: fixed InputNumber formatter bug related to #1772 (#1870) 2 years ago
layout 9b82b7e001 chore: eslint fix 2 years ago
list e98352e6d5 test: replace demo text 1 year ago
locale b9421f7556 feat: tabs add more api (#2226) 1 year ago
modal f4538419e9 Merge pull request #2162 from 18852819321/feat/modal_content_class 1 year ago
navigation eddb133368 feat: Nav.Item 支持透传 data-* 参数到 dom (#2217) 1 year ago
notification 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
overflowList 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
pagination b8ddda290e fix: pagination popoverZIndex don't take effect on sizeChanger (#1896) 2 years ago
popconfirm 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
popover 84a48ef260 feat: provide overriding default props to some components via gloal config (#2029) 1 year ago
progress f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
radio 506a7ca516 fix: fix type = button / card RadioGroup style, close #1954, #2126 (#2149) 1 year ago
rating f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
resizeObserver 63efc79d5f fix: fix the error accessing empty element in ReactResizeObserver (#2095) 1 year ago
scripts 6ebc1b8a5e chore: remove useless license.txt in the dist dir 1 year ago
scrollList f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
select 32a1abddb5 fix: controled select text will flash after search and select option (#2170) 1 year ago
sideSheet 52d9910050 merge release 1 year ago
skeleton bd83d1f9cd chore: format code 3 years ago
slider a6bda78613 Merge branch release into main 1 year ago
space 685ea938f3 feat: DatePicker support onClickOutside, open, close methods (#1470) 2 years ago
spin f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
steps ea3a994d95 fix: fix steps some hover active style (#1836) 2 years ago
switch f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
table fb73e637b5 Merge branch 'main' into release 1 year ago
tabs 08c76a5b7b fix(tabs): Fixed the issue where the overflow tab did not scroll into view when the activeKey changed(#2239) (#2241) 1 year ago
tag 1e4b31f644 feat: tag support suffixIcon、prefixIcon (#1832) 2 years ago
tagInput a154de7e7d style: fix tagInput insetLabel not align with other component (#2216) 1 year ago
timePicker 575577f1f3 fix: fix click outside handler in webcomponent (#2084) 1 year ago
timeline d4b9f3276b feat: pass data-* attribute to dom (#1630) 2 years ago
toast 42cc6615ea fix: change toast unit test 1 year ago
tooltip 8fc0554cab fix: fix tooltip not show when already hover on mount (#2199) 1 year ago
transfer ef375fb64e refactor: change react-sortable-hoc to dnd-kit for Transfer/Taginput … (#1738) 2 years ago
tree b771a3a787 feat: [Tree] icon API support function 1 year ago
treeSelect c3cef91813 fix: Fixed TreeSelect is in defaultOpen mode, the popup cannot be closed when clicking outside (#2254) 1 year ago
trigger f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 years ago
typography 31dfdeec20 feat: size of Typography support inherit (#2244) 1 year ago
upload 599c348d74 fix: upload addOnPasting switch to false should not trigger process (#2176) 1 year ago
README.md c3be05798d docs: update changelog 1 year ago
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 years ago
gulpfile.js 9c3a607100 chore: auto format code 3 years ago
index.ts f63cc867bc chore: add semiGlobal config doc 1 year ago
package.json b9a08d8581 v2.59.0 1 year ago
tsconfig.json 599618a8c7 chore: setValue ts interface support recur path (#2245) 1 year ago
webpack.config.js 0b2dd121d0 chore: use webpack5 2 years ago

README.md

Semi-UI

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

[![LICENSE][license-badge]][license-url] [![NPM][npm-badge]][npm-url] [![CONTRIBUTORS][contributors-badge]][contributors-url] ![Design Token][Design Token] [![FIGMA][figma-badge]][figma-url] [![CODECOV][codecov-badge]][codecov-url] [![Chromatic][chromatic-badge]][chromatic-url] [![Cypress][cypress-badge]][cypress-url] [![Twitter Follow](https://img.shields.io/twitter/follow/SemiDesignUI?style=social)](https://twitter.com/SemiDesignUI)

🎉 Features

  • 💪 Up to 60+ high-quality Components.
  • 💅 Code2Design, automatically generate Figma UI Kit according to different themes, keep same between design and code
  • 🚀 Powerful Design2Code support, convert figma draft to code in a few seconds
  • 💕 Complete A11y support, follows W3C standards to provide keyboard interaction, focus management and ARIA for all components
  • 💅 Up to 2700+ Design Tokens can be easily modify by Semi Design system management, make Semi Design to Any Design quickly.
  • 🌍 Internationalization Support for Dozens of Languages, timezone, RTL support
  • ⚙️ Strict quality assurance, covering unit testing, E2E testing, visual testing
  • 👏 Written in Typescript, friendly Static Type Support. Based on Foundation/Adapter architecture, easy to read and contribute
  • 🥳 SSR (Server Side Rendering) Compatible.

🔥 Install

# with npm
npm install @douyinfe/semi-ui

# with yarn
yarn add @douyinfe/semi-ui

👍 Usage

Here is a quick example to get you started, it's all you need:

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'));

And Semi UI Doc Site has hundreds of editable examples and live preview, welcome to play with those examples.

📰 News about Semi UI

📌 Documentation

👌 Platform Support

Semi UI supports all major modern browsers.

|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 |

👨‍👨‍👧‍👦 User Group

Join User Group on Feishu / Lark

💖 Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

Cypress

Thanks to Cypress for providing E2E testing.

👐 Contributing

Thanks to all the people who already contributed!

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Semi UI.

See CONTRIBUTING documentation.

🎈 License

Semi UI is MIT Licensed