This is a custom component library built on top of shadcn/ui and Tailwind CSS, providing a set of reusable UI components for your web applications.
To install the package, run the following command:
npm install @your-company/custom-components
To use a component from the library, import it into your React component:
import { Button } from '@your-company/custom-components';
const MyComponent = () => {
return (
<div>
<Button variant="primary">Click me</Button>
</div>
);
};
The library provides the following components:
-
Button
: A customizable button component with different variants and styles. -
Card
: A versatile card component for displaying content. -
Modal
: A modal component for displaying modals and overlays. -
Dropdown
: A dropdown menu component. -
Tooltip
: A tooltip component for displaying additional information. - ...
Each component has its own set of props and customization options. Refer to the component documentation for more details.
The component library supports theming through Tailwind CSS. You can customize the styles by overriding the default Tailwind configuration in your project. Refer to the theming documentation for more information.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.