UI components library which implements the Kleros design system.
The Kleros UI Components Library is a package that provides a set of themed user interface components. It allows developers to easily incorporate these components into their applications with customizable themes. The library is designed to simplify the process of building visually appealing and consistent user interfaces.
To install the Kleros UI Components Library, use one of the following commands depending on your package manager:
For yarn:
yarn add @kleros/ui-components-library
For npm:
npm install @kleros/ui-components-library
Once the package is installed, create a theme file in your project where you can define the colors for the components. This can be done by destructuring the lightTheme or darkTheme (or both) from the library and including it in your theme object.
Finally, provide the theme to the components using the ThemeProvider from styled-components. This will ensure that the components are styled according to the specified theme.
The Kleros UI Components Library is a powerful tool for developers looking to incorporate visually pleasing and customizable components into their applications. With its pre-built components and customizable themes, it offers an easy and efficient way to create a consistent and attractive user interface.