0.0.4 • Published 2 years ago
fcs-design-system v0.0.4
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-systemyarn add fcs-design-systemStart develop
Recommended VSC profile to development: https://gist.github.com/stembrino/bafdbadf2f55cf23b884eb73a75615a4
yarn prepare
yarn
yarn sbUse the prompt yarn gen to generate new components 🤖

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.tsexports if you want the library to export the component!
Accessibility
Use ARIA: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
Include keyboard navigation.
- Add a visible state of focus.
Unit Tests
❗Everything core component parts should be tested, avoiding unnecessary tests.
- Try coverage all state of the component with relevant actions unit tests.