🔗 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
Recommended VSC profile to development: https://gist.github.com/stembrino/bafdbadf2f55cf23b884eb73a75615a4
yarn prepare
yarn
yarn sb
GitHub: prompt-component-gen
- 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.
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!
-
Use ARIA: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
-
Include keyboard navigation.
-
Add a visible state of focus.
❗Everything core component parts should be tested, avoiding unnecessary tests.
- Try coverage all state of the component with relevant actions unit tests.