How We Test Semi Design React Component

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • semi-design

    🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 2800+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻‍💻 Design to Code in one click

  • // Semi Github Repository Directory ├── semi-animation # js animation ├── semi-animation-react # react animation ├── semi-animation-styled # style animation ├── 👉🏻 semi-foundation # foundation │ ├── button │ ├── ... ├── semi-icons # icon ├── semi-illustrations # illustrations ├── semi-theme-default # theme ├── 👉🏻 semi-ui # react adapter │ ├── button │ ├── ... ├── ... # Packaging related // https://github.com/DouyinFE/semi-design/tree/main/packages

  • jsdom

    A JavaScript implementation of various web standards, for use with Node.js

  • We can use getComputedStyle to get CSS properties, #135

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • storybook

    Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

  • In Semi's component development process, we will first start a Storybook project, develop component based on Storybook, and write use cases corresponding to our component API through stories. With these use cases we can browse component styles and test component interactions For example, in the image below, we create a story for the primary type of the Button component, and manually check whether the background color and font color are correct.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts