Skip to content

Latest commit

ย 

History

History
191 lines (131 loc) ยท 9.78 KB

README.md

File metadata and controls

191 lines (131 loc) ยท 9.78 KB

Semi-UI

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps.

Twitter Follow

LICENSE NPM CONTRIBUTORS Design Token FIGMA CODECOV Chromatic Cypress

English | ็ฎ€ไฝ“ไธญๆ–‡

๐ŸŽ‰ Features

  • ๐Ÿ’ช Up to 70+ high-quality Components. Stable update 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 same 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, 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.
  • ๐Ÿ“ฆ 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

๐Ÿ‘ 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

design2code

  • Or jump to codesandbox to continue editing

codesandboxdemo

๐ŸŽจ DSM Usage

Define your own design system base on Semi UI with DSM in one click, Provide more than 3000 tokens for you to configure every detail. Sync between Figma and Code at all times.

dsmintro

๐Ÿ“ฐ News about Semi UI

๐Ÿ“Œ Documentation

๐Ÿ“ Blogs

๐Ÿ‘Œ 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.

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 bugfixes and improvements, and how to build and test your changes to Semi UI.

See CONTRIBUTING documentation.

๐ŸŽˆ License

Semi UI is MIT Licensed