The React Component Library is a powerful UI development tool built with Vite and Tailwind CSS. It provides a seamless and stylish experience for building user interfaces. With integrated Storybook for component visualization and Chromatic for visual testing, you can ensure that your components are visually consistent and well-tested across different environments. The build script included generates a production-ready version of the library, drawing inspiration from the shadcn/ui library for foundational ideas.
To install the React Component Library, run the following command in your project directory:
npm install react-component-library
or with yarn:
yarn add react-component-library
Here is a simple example of how to use a component from this library:
import React from 'react';
import { MyComponent } from 'react-component-library';
function App() {
return <MyComponent />;
}
export default App;
For detailed documentation on each component, visit the Storybook documentation. This includes examples, prop definitions, and guidelines for best practices.
Contributions are welcome! If you'd like to help improve the React Component Library, please follow these steps:
git clone https://github.com/Meitchouk/react-component-library.git
git checkout -b feature/AmazingFeature
git commit -m 'Add some AmazingFeature'
git push origin feature/AmazingFeature
This project is licensed under the MIT License - see the LICENSE file for details.
Meitchouk - GitHub
react, nextjs, ui, shadcn/ui, tailwindcss, storybook, chromatic