@ahmedayob/duck-ui v0.0.4
Duck UI
Welcome to Duck UI, a modern UI component library designed for flexibility and ease of use. This library provides a set of high-quality React components, styled with a clean and responsive design, perfect for building user interfaces in web applications.
๐ Features
- Modern Design: Elegant and customizable components that adhere to modern UI/UX principles.
- Flexible: Easily integrate and customize components to fit your design needs.
- Themed Styling: Built with a palette that includes black and white, and customizable color options for various themes.
- Well-documented: Comprehensive documentation to help you get started and make the most of Duck UI.
๐ฆ Installation
To get started with Duck UI, install it via npm or yarn:
npm install @ahmedayob/duck-uior
yarn add @ahmedayob/duck-ui๐ Usage
Here's a basic example of how to use Duck UI components in your React application:
import React from 'react'
import { Button, Card } from '@ahmedayob/duck-ui'
const App = () => {
return (
<div>
<Card>
<h1>Welcome to Duck UI</h1>
<Button>Click Me!</Button>
</Card>
</div>
)
}
export default App๐ ๏ธ Development
To develop and build the library locally, follow these steps:
Clone the Repository
git clone https://github.com/your-org/duck-ui.git cd duck-uiInstall Dependencies
pnpm installRun Development Server
pnpm devBuild the Library
pnpm build
๐ง Configuration
Duck UI is configured with Vite for a fast development experience and optimized builds. To customize the configuration, modify the vite.config.ts file.
๐งช Testing
Duck UI uses Vitest for testing. To run the tests, use:
pnpm test๐ Contributing
We welcome contributions to Duck UI! To contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them with clear messages.
- Open a pull request with a description of your changes.
๐ License
Duck UI is licensed under the MIT License.
๐ง Contact
For any questions or support, please contact us at support@ahmedayob.com.
Thank you for using Duck UI! We hope it helps you build beautiful and functional user interfaces.
2 years ago