田丰 0724b5393e Fix: adjust jsonviewer search box popup positioning (#2738) 8 tháng trước cách đây
..
_base 6a81a795f3 chore: docs & example in story optimize 1 năm trước cách đây
_cssAnimation 73401f34e4 fix: fix tooltip animation in react18 #1225 (#1227) 3 năm trước cách đây
_portal dc6f3f7fee fix: optimize code 2 năm trước cách đây
_sortable 1d5f248c93 fix: Fixed the issue in Transfer that quick drag failed due to too long drag sensing delay time 1 năm trước cách đây
_test_ d4c3d4b522 chore: use eslint to format code (#1162) 3 năm trước cách đây
_utils 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 tháng trước cách đây
anchor 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
audioPlayer 26e6825d40 fix: resolve style issues in audio player (#2685) 9 tháng trước cách đây
autoComplete 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 tháng trước cách đây
avatar 53bb70ba9b chore: fix Avatar/AvatarGroup size type error 1 năm trước cách đây
backtop 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
badge 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
banner 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
breadcrumb 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
button 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
calendar 95dc5a430b Merge branch 'release' 1 năm trước cách đây
card 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
carousel 2c43674a31 fix: render state value in children render always get init one (#2634) 10 tháng trước cách đây
cascader ff55418f9d style: Modify default empty data display style in Cascader, to be consistent with TreeSelect/Select (#2725) 8 tháng trước cách đây
chat b0a54ec675 Feat/chat markdown render (#2679) 9 tháng trước cách đây
checkbox f8004dfb8f style: [Checkbox] Modify unreasonable naming, undisabled -> enable (#2494) 1 năm trước cách đây
codeHighlight a87ee93f0b fix: code highlight add semi-light-scrollbar 1 năm trước cách đây
collapse 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
collapsible d71a32889a fix: [Collapsible] remove useless isEqual compare in componentDidUpdate 10 tháng trước cách đây
colorPicker c5ca0a25c7 fix: optimize colorPicker code 1 năm trước cách đây
configProvider 458a4dcbd2 feat: ConfigConsumer 1 năm trước cách đây
cropper 7c205edb90 feat: add Cropper componnent (#2642) 9 tháng trước cách đây
datePicker 8df42ba7d3 fix: Update the display logic of months in different years under type monthRange (#2608) 11 tháng trước cách đây
descriptions 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
divider 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
dragMove d9e931c738 fix: Fixed the issue in DragMove that after setting the handler, DragMove child elements can still be dragged (#2662) 9 tháng trước cách đây
dropdown fd051c8198 fix: fix dropdown onVisibleChange not defined some time (#2454) 1 năm trước cách đây
empty 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
form d72b546e6b fix: add warning of field validate race warning, formApi.scrollToError type define, Form.InputGroup miss defaultProps (#2719) 8 tháng trước cách đây
grid 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) 11 tháng trước cách đây
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) 1 năm trước cách đây
iconButton cab27191a0 feat: Button Badge add contentClassName (#2262) 1 năm trước cách đây
icons 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
image 63d0a0b499 chore: Image component props support native img element attributes (#2427) 1 năm trước cách đây
input a4a95a4935 perf: optimize Input, TextArea getValueLength judgment times (#2432) 1 năm trước cách đây
inputNumber 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
jsonViewer 0724b5393e Fix: adjust jsonviewer search box popup positioning (#2738) 8 tháng trước cách đây
layout 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
list 56a3cf3b69 docs: update list drag demo use dnd-kit (#2717) 8 tháng trước cách đây
locale 98684cbf50 fix: [Pagination] Fixed page capacity switcher did not switch language correctly when switching languages (#2698) 8 tháng trước cách đây
lottie 5a83d41be8 chore: doc 1 năm trước cách đây
markdownRender 53995698c3 fix: fix markdownTable error in some case (#2590) 11 tháng trước cách đây
modal 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
navigation 58fec5fd64 fix: remove NavItem.children props (#2711) 8 tháng trước cách đây
notification 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
overflowList cf816b24b4 fix: deepclone items when getOverflowItem to Prevent props.items from being changed internally due to rapid clicks (#2423) 1 năm trước cách đây
pagination 98684cbf50 fix: [Pagination] Fixed page capacity switcher did not switch language correctly when switching languages (#2698) 8 tháng trước cách đây
pincode 95b8f3074d fix: pinCode number format IME issue in iOS 8 tháng trước cách đây
popconfirm b786b6eb04 fix: change popconfirm test 11 tháng trước cách đây
popover 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
progress 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
radio 8e653139fc feat: [RadioGroup] options added addonStyles/addonClassName/addonId/extraId (#2706) 8 tháng trước cách đây
rating 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
resizable 3c4e287508 fix: Fix Resizable not working on touch screen 8 tháng trước cách đây
resizeObserver 63efc79d5f fix: fix the error accessing empty element in ReactResizeObserver (#2095) 1 năm trước cách đây
scripts 6ebc1b8a5e chore: remove useless license.txt in the dist dir 1 năm trước cách đây
scrollList 5ec3889a0c fix(datepicker): fixed chrome crashed bug by scrollList aria prop #2722 (#2723) 8 tháng trước cách đây
select 479f0f8c18 fix: add prefix/suffix color token in Select/Cascader/TreeSelect (#2720) 8 tháng trước cách đây
sideSheet 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
skeleton 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
slider eeafecf1f9 fix: fix slider handle flash in control mode (#2442) 1 năm trước cách đây
space 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
spin 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
steps 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
switch 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
table b6216f4a3e feat: Table onChange add extra.changeType API #1238 (#2617) 10 tháng trước cách đây
tabs b092971f02 fix: Modify the implementation of slashes & support dropdownProps settings 1 năm trước cách đây
tag 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
tagInput 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
timePicker 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
timeline 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
toast 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 năm trước cách đây
tooltip 809f6aa117 fix: fix tooltip dom not remove 11 tháng trước cách đây
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) 11 tháng trước cách đây
tree 4254a00262 feat: Tree/TreeSelect add expandIcon API 8 tháng trước cách đây
treeSelect 479f0f8c18 fix: add prefix/suffix color token in Select/Cascader/TreeSelect (#2720) 8 tháng trước cách đây
trigger f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 năm trước cách đây
typography 1ca2dfd4aa fix: Modify the way to clear ellipsisContainer and removDDe the obsolete use of ReactDOM.render() 8 tháng trước cách đây
upload 942121dc13 feat: add renderPicClose suppport in upload (#2714) 8 tháng trước cách đây
README.md 581de64d5e docs: update component number 10 tháng trước cách đây
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 năm trước cách đây
gulpfile.js 9c3a607100 chore: auto format code 3 năm trước cách đây
index.ts 096220f651 Feat: add AudioPlayer (#2650) 9 tháng trước cách đây
package.json f88ca54234 v2.74.0 8 tháng trước cách đây
tsconfig.json ea4a06bb0e fix: change tsconfig libo 1 năm trước cách đây
webpack.config.js bd811b964d chore: lock webpack version 1 năm trước cách đây

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 70+ 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 3000+ 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