Screenshot of Semi Design

Introduction

Semi Design is a modern, comprehensive, and flexible design system and React UI library. It offers over 60 high-quality components and provides more than 3000 design tokens, making it easy to build custom design systems. Semi Design stands out with its Design to Code (D2C) and Code to Design (C2D) features, allowing seamless translation between design and development.

Main Features

  1. 60+ high-quality React components
  2. Official Design to Code (D2C) support
  3. Code to Design (C2D) functionality
  4. Accessibility (A11y) support following W3C standards
  5. Design system management with Semi DSM
  6. Internationalization support for multiple languages
  7. Comprehensive testing including unit, E2E, and visual testing
  8. Written in TypeScript for better type support
  9. Server-Side Rendering (SSR) compatible
  10. Web components compatibility

Installation Steps

To install Semi Design, run the following command in your project directory:

npm install @douyinfe/semi-ui

Usage Instructions

  1. Import the necessary components from Semi Design:
import React from 'react';
import { createRoot } from 'react-dom/client';
import { Button, Form } from '@douyinfe/semi-ui';
  1. Use the components in your React application:
const App = () => (
  <Form>
    <Form.Input field='name' initValue='semi design' />
    <Button htmlType='submit'>submit</Button>
  </Form>
);

const root = createRoot(document.querySelector('#app'));
root.render(<App />);
  1. For Design to Code functionality:

    • Install the Semi Figma Plugin
    • Use the plugin to translate Figma designs to code
    • Output formats include JSX + SCSS, Emotion, Tailwind, or JSON Schema DSL
  2. For Design System Management:

    • Use Semi DSM to define your design system based on Semi UI
    • Configure over 2700 tokens to customize every detail
    • Sync between Figma and code in real-time

Important Notes

  1. Semi Design supports all major modern browsers, including the latest two versions of Chrome, Firefox, Safari, Edge, and Electron.

  2. The project is actively maintained, with regular updates since 2019.

  3. Semi Design follows accessibility guidelines, providing keyboard interaction, focus management, and ARIA support for all components.

  4. The library is written in TypeScript, offering strong type support for developers.

  5. Server-Side Rendering (SSR) is supported out of the box.

  6. Semi Design is compatible with web components, making it suitable for building SDKs and browser plugins.

  7. The project uses a Foundation/Adapter architecture, making it easier to read and contribute to the codebase.

  8. Extensive documentation is available, including guides for quick start, component overviews, theme customization, and more.

  9. The project is open-source and welcomes contributions. Refer to the CONTRIBUTING documentation for guidelines.

  10. Semi Design is released under the MIT License, allowing for flexible use in various projects.

Semi Design

A modern, comprehensive, flexible design system and React UI library. Provide more than 2800+ Design Tokens and powerful DSM tools, easy to build your own design system. Make Semi Design to Any Design

Theme Information:

Stars : github star7896
Forks : github fork670
Updated : 28 Apr, 2024
Published : 25 Oct, 2021
Types :
Gatsby IconSCSS IconMarkdown Icon
DouyinFE
Created byDouyinFE