💪 Up to 80+ high-quality Components. Stable updates since 2019
🚀 Official Design to Code (D2C) support, convert Figma draft to real code in a few seconds
💅 Code to Design (C2D), automatically generate Figma UI Kit according to different themes, keep consistency between design and code
💕 Complete A11y support, follows W3C standards to provide keyboard interaction, focus management and ARIA for all components
💅 Design system management Semi DSM, up to 3000+ Design Tokens, make Semi Design to Any Design quickly.
🌍 Internationalization Support for Dozens of Languages, timezone, and RTL support
⚙️ Strict quality assurance, covering unit testing, E2E testing, and visual testing.
👏 Written in Typescript, friendly Static Type Support. Based on Foundation/Adapter architecture, easy to read and contribute
🥳 SSR (Server Side Rendering) Compatible.
📦 Easily compatible with web components, providing a complete adaptation solution, more suitable for building SDKs, browser plugins and other scenarios that require DOM isolation.
🔥 Install
npm install @douyinfe/semi-ui
yarn add @douyinfe/semi-ui
pnpm add @douyinfe/semi-ui
👍 Component Usage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import { createRoot } from 'react-dom/client';
import { Button, Form } from '@douyinfe/semi-ui';
const App = () => (
<Form>
<Form.Input field='name' initValue='semi design'></Form.Input>
<Button htmlType='submit'>submit</Button>
</Form>
);
const root = createRoot(document.querySelector('#app'));
root.render(<App />);
Semi UI Doc Site has hundreds of editable examples and live preview, welcome to play with those examples.
⚡️ Design to Code Usage
Install Semi Figma Plugin. Translate Figma to real code in seconds. Support multiple output formats: JSX + SCSS / Emotion/Tailwind, or JSON Schema DSL
Support Figma devmode, selecting a layer, directly get corresponding code on the right
Or jump to codesandbox to continue editing
🎨 DSM Usage
Define your own design system based on Semi UI with DSM in one click, Provide more than 3000 tokens for you to configure every detail. Sync between Figma and Code always.
Thanks to VisActor for providing the data visualization solution.
👐 Contributing
Thanks to all the people who already contributed!
Read the contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Semi UI.