Cll

screenshot of Cll

React Component Library Library

Overview

The Component Library Repository aims to showcase different setups that allow React components to be shared between repositories. The motivation behind this is to avoid duplication and improve consistency in corporate landscapes where multiple UIs exist in different repositories. Common components such as buttons and dialogs should be shared across repositories to enhance efficiency and maintain consistency.

Features

  • Library Setups: The repository provides various setups for sharing React components between repositories. These setups include bare, bare-ts, bare-ts-tooling, css, tailwind, mui, and icons.
  • ES Modules: All libraries, except the bare-bones example, are written in TypeScript and set up as ES Modules to be used in React applications with proper build steps.
  • Easy Installation: To run a specific library locally, users can clone the repository, install the dependencies using pnpm, build the library, and start the consuming application.

Summary

The Component Library Repository provides setups for sharing React components between repositories. By avoiding duplication and ensuring consistency, common components can be shared across different repositories, improving efficiency and maintaining a cohesive user interface. The repository offers different library setups, easy installation steps, and ES Modules to enhance the development process.