林艳 1795fd3140 feat: add 3 ai components through semi agent 3 mesi fa
..
_base 6a81a795f3 chore: docs & example in story optimize 1 anno fa
_cssAnimation 73401f34e4 fix: fix tooltip animation in react18 #1225 (#1227) 3 anni fa
_portal dc6f3f7fee fix: optimize code 2 anni fa
_sortable 1d5f248c93 fix: Fixed the issue in Transfer that quick drag failed due to too long drag sensing delay time 1 anno fa
_test_ d4c3d4b522 chore: use eslint to format code (#1162) 3 anni fa
_utils 52b37b12e1 feat: highlight searchWords support object props (#2600) 10 mesi fa
aiCard 1795fd3140 feat: add 3 ai components through semi agent 3 mesi fa
aiLoading 1795fd3140 feat: add 3 ai components through semi agent 3 mesi fa
anchor 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
audioPlayer b18be73a99 chore: Modify the image link in storybook to ensure Cypress test consistency 6 mesi fa
autoComplete 52b37b12e1 feat: highlight searchWords support object props (#2600) 10 mesi fa
avatar 53bb70ba9b chore: fix Avatar/AvatarGroup size type error 1 anno fa
backtop 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
badge 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
banner 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
breadcrumb 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
button 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
calendar 95dc5a430b Merge branch 'release' 1 anno fa
card 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
carousel 2c43674a31 fix: render state value in children render always get init one (#2634) 10 mesi fa
cascader dc2803a695 fix: Fixed the display problem of cascader with single selection, controlled value and value undefined, asynchronous loading, and showNext set to hover when loading multiple projects at the same time (#2832) 5 mesi fa
chat f8a673573c style: Fix the problem that the width of the chat content area is stretched by the table (#2775) 6 mesi fa
checkbox f8004dfb8f style: [Checkbox] Modify unreasonable naming, undisabled -> enable (#2494) 1 anno fa
codeHighlight a87ee93f0b fix: code highlight add semi-light-scrollbar 1 anno fa
collapse 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
collapsible d71a32889a fix: [Collapsible] remove useless isEqual compare in componentDidUpdate 10 mesi fa
colorPicker c5ca0a25c7 fix: optimize colorPicker code 1 anno fa
configProvider 458a4dcbd2 feat: ConfigConsumer 1 anno fa
cropper 16294a73ef feat: [Cropper] add preview API for realtime preivew croppered image (#2782) 6 mesi fa
datePicker 8df42ba7d3 fix: Update the display logic of months in different years under type monthRange (#2608) 10 mesi fa
descriptions 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
divider 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
dragMove d9e931c738 fix: Fixed the issue in DragMove that after setting the handler, DragMove child elements can still be dragged (#2662) 9 mesi fa
dropdown fd051c8198 fix: fix dropdown onVisibleChange not defined some time (#2454) 1 anno fa
empty 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
floatButton 1795fd3140 feat: add 3 ai components through semi agent 3 mesi fa
form 5f21f62263 chore: Update BaseFormProps Interface, render / children,support generic Values (#2840) 4 mesi fa
grid 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
highlight 52b37b12e1 feat: highlight searchWords support object props (#2600) 10 mesi fa
hotKeys 33d762b11d chore: Hotkeys, move the event DOM operation to the adapter (#2515) 1 anno fa
iconButton cab27191a0 feat: Button Badge add contentClassName (#2262) 1 anno fa
icons 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
image 63d0a0b499 chore: Image component props support native img element attributes (#2427) 1 anno fa
input 01c85b3f44 style: When the length of the placeholder of the Input exceeds the length, the content exceeding the length will be omitted (#2872) 3 mesi fa
inputNumber 27934fdc87 Merge branch main into release 6 mesi fa
jsonViewer b3356487aa feat: expose jsonviewer search api (#2755) 6 mesi fa
layout 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
list 56a3cf3b69 docs: update list drag demo use dnd-kit (#2717) 8 mesi fa
locale 9176c05534 fix: convert item.value to item.month to ensure that the datepicker can compare the correct numbers instead of letters in monthRange (#2871) 4 mesi fa
lottie 5a83d41be8 chore: doc 1 anno fa
markdownRender bc981acf20 fix: MarkdownRender table duplicate column elements 7 mesi fa
modal db064df658 fix: Fix the problem that the height of modal does not cover the screen when fullScreen is set, since 2.82.0 (#2881) 3 mesi fa
navigation 674612e3d1 fix: add a new selector type for the hover style fallback in the renderWrapper scenario (#2691) 7 mesi fa
notification 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
overflowList cf816b24b4 fix: deepclone items when getOverflowItem to Prevent props.items from being changed internally due to rapid clicks (#2423) 1 anno fa
pagination 98684cbf50 fix: [Pagination] Fixed page capacity switcher did not switch language correctly when switching languages (#2698) 8 mesi fa
pincode 95b8f3074d fix: pinCode number format IME issue in iOS 8 mesi fa
popconfirm b786b6eb04 fix: change popconfirm test 10 mesi fa
popover 6a4a47ed30 style: Modify the color of Popover arrow to ensure that the configuration can take effect through DSM (#2806) 6 mesi fa
progress c1f2ca8eeb fix: Fixed the problem that when the hot area for sorting is the enti… (#2803) 6 mesi fa
radio 8e653139fc feat: [RadioGroup] options added addonStyles/addonClassName/addonId/extraId (#2706) 7 mesi fa
rating 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
resizable 3c4e287508 fix: Fix Resizable not working on touch screen 8 mesi fa
resizeObserver 63efc79d5f fix: fix the error accessing empty element in ReactResizeObserver (#2095) 1 anno fa
scripts 6ebc1b8a5e chore: remove useless license.txt in the dist dir 1 anno fa
scrollList 5ec3889a0c fix(datepicker): fixed chrome crashed bug by scrollList aria prop #2722 (#2723) 8 mesi fa
select 137a647142 fix: add child key to restGroupProps to make group key uniq (#2854) 4 mesi fa
sideSheet 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
skeleton 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
slider eeafecf1f9 fix: fix slider handle flash in control mode (#2442) 1 anno fa
space 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
spin 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
steps 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
switch 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
table d117368c32 style: Fixed the issue that when the Table component sets the header background color through style in onHeaderCell, the fixed header does not take effect (#2821) 5 mesi fa
tabs 44b19ef61f fix: tabs add scrollActiveTabItemIntoView to componentDidMount (#2787) 6 mesi fa
tag 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
tagInput 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
timePicker 1fc17f3b8c style: add color-scrollList_header-bg support (#2789) 6 mesi fa
timeline 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
toast 3a7a6d1e55 chore: update ci workflow node 16 -> node 20 (#2109) 1 anno fa
tooltip 5675a987dd fix: Modify the timing of getting position of container in tooltip to… (#2841) 4 mesi fa
transfer cde4825d2b fix: When all items except the disabled item in the left panel of tra… (#2574) 11 mesi fa
tree f0cb8675e9 fix: treeData prop add key type warning (#2773) 5 mesi fa
treeSelect 479f0f8c18 fix: add prefix/suffix color token in Select/Cascader/TreeSelect (#2720) 8 mesi fa
trigger f05ed24b0b chore: remove file head lint rule which already set global (#1706) 2 anni fa
typography 1ca2dfd4aa fix: Modify the way to clear ellipsisContainer and removDDe the obsolete use of ReactDOM.render() 8 mesi fa
upload 112d4dc296 feat: add filename tooltip when the filename is too long 7 mesi fa
userGuide 5d79300385 fix: UserGuide click-through behavior (#2764) 6 mesi fa
videoPlayer 09d8752f3c feat: add videoPlayer support (#2822) 5 mesi fa
README.md 581de64d5e docs: update component number 9 mesi fa
getBabelConfig.js 496f3db0f7 chore: remove corejs 3 anni fa
gulpfile.js 9c3a607100 chore: auto format code 3 anni fa
index.ts 1795fd3140 feat: add 3 ai components through semi agent 3 mesi fa
package.json f775358bc5 v2.82.1 3 mesi fa
tsconfig.json 09d8752f3c feat: add videoPlayer support (#2822) 5 mesi fa
webpack.config.js bd811b964d chore: lock webpack version 1 anno fa

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