A react pattern library with collocation for generic react components equipped with recommended development ecosystem. Its collection of reusable react components built to serve all type of react based projects to achieve better user experience consistency and reusability.
A component library helps you achieve consistent branding as it becomes the single source of truth for every component not only in the application but for all projects in the organization.
Instead of duplicating the component code across features in your project, implement the component from a central source, like a component library.
- Development Environment: Storybook integrated for developing and showcasing components.
- Flow typed: All components are FlowTyped and Flow Type checked.
- Static Code Quality checks and formatting: Javascript and CSS linting using Eslint, Stylelint and Prettier.
- Component scaffolding: Consistently generate components using Plop.
- Documentation: Generates code documentation with ESDocs.
- Git Hooks: Pre-commit, Pre-push and pre-publish using Husky.
- Unit testing framework: with Jest and Enzyme.
- Babel 7 to transpiling javascript and releasing them as ESModules.
- Theme and Styling: with Styled Components.
- formik
- yup
- flexboxgrid
- react-modal
Dependencies should be installed using the yarn command line tools.
yarn install
yarn run flow:installflow:install will search the libdef repo and download all the libdefs that are relevant for our project and install them for us.