A powerful, easy-to-use collection of React UI components built with TypeScript and styled using CSS Modules. Perfect for adding beautiful and customizable UI elements to your projects.
- Reusable Components: Fully modular and reusable UI components.
- TypeScript Support: Type-safe components for better developer experience.
- CSS Modules: Styled with CSS modules for clean and maintainable styles.
- Customizable: Easily themeable with props for customization.
- Lightweight: Optimized for performance with minimal overhead.
To install this library, simply run:
npm install your-library-name
Or, if you use Yarn:
yarn add your-library-name
A customizable button component that adapts to your theme.
Usage:
import React from 'react';
import { Button } from 'your-library-name';
const App = () => (
<Button onClick={() => alert('Button clicked!')}>Click Me</Button>
);
export default App;
A beautiful card component that supports titles, content, and custom elements.
Usage:
import React from 'react';
import { Card } from 'your-library-name';
const App = () => (
<Card cardTitle="Welcome!" cardText="This is a sample card." >
<p>Additional content goes here.</p>
</Card>
);
export default App;
Import components as needed in your project:
import { Button, Card } from 'your-library-name';
Customize your components by passing a theme
prop to adjust colors, spacing, and more.
Example:
const customTheme = {
components: {
button: {
background: 'blue',
color: 'white',
hoverBackground: 'darkblue',
},
card: {
background: 'lightgray',
color: 'black',
},
},
};
<Button theme={customTheme}>Custom Themed Button</Button>
This library is licensed under the MIT License. You are free to use, modify, and distribute this library for any purpose.
We welcome contributions! If you have suggestions, bug fixes, or new features, please create a pull request.
Steps to contribute:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Push the branch and create a pull request.
If you have any questions or run into issues, please create an issue on GitHub or contact us at [your-email@example.com].
Thanks to all the contributors and open-source projects that have helped make this library a reality!
Happy coding! 🚀