Skip to content

stembrino/fcs-design-system

Repository files navigation

FCS Design System

fcs-design-system

🔗 Documentation page: https://stembrino.github.io/fcs-design-system

You can install the package via npm:

npm i fcs-design-system
yarn add fcs-design-system

Start develop

Recommended VSC profile to development: https://gist.github.com/stembrino/bafdbadf2f55cf23b884eb73a75615a4

yarn prepare
yarn
yarn sb

Use the prompt yarn gen to generate new components 🤖

GitHub: prompt-component-gen

gif component generator


Rules 👩‍⚖️

  • Mobile first.
  • Prioritize stateless over stateful components.
  • Do not "hadouken 🥦" the functions.
  • Complex functions must have unit tests.
  • Ue Figma community to create a component.

External library

Avoid use external library. use just if really needed. This library.

Don't forget to add the component to your index.ts exports if you want the library to export the component!

Accessibility

Unit Tests

❗Everything core component parts should be tested, avoiding unnecessary tests.

  • Try coverage all state of the component with relevant actions unit tests.