engage360-ui
v1.0.5
Published
A professional UI components library for the Engage360 project, designed for seamless integration and efficient development.
Maintainers
Readme
Engage360 UI Library 🚀
Engage360 UI is a modern React-based UI components library designed for the Engage360 project. Built with Tailwind CSS and TypeScript, it provides scalable, reusable, and customizable components for seamless integration in your React applications.
✨ Features
- Reusable Components: Ready-to-use UI components like Buttons, Avatars, and Inputs.
- Tailwind CSS: Fully styled with Tailwind for consistent design and easy customization.
- Storybook Integration: Preview and test components interactively.
- TypeScript Support: Type-safe components for better developer experience.
- Tree-Shakable: Optimized for performance and scalability.
📦 Installation
Install the package via npm:
npm install engage360-uior with yarn:
yarn add engage360-ui🚀 Usage
Here's an example of how to use the Button component:
import React from "react";
import { Button } from "engage360-ui";
export default function App() {
return <Button label="Click Me!" />;
}Components Available
Avatar: For user profile images.Button: Styled buttons with different states.Input: Form input fields.
Each component is documented and previewable in the Storybook.
📖 Storybook
Engage360 UI comes with an integrated Storybook for interactive component development. To view the Storybook:
- Install dependencies:
npm install - Run the Storybook server:
npm run storybook
Storybook will open at http://localhost:6006 in your browser.
🔧 Project Structure
src/
├── components/
│ ├── Avatar/
│ │ ├── Avatar.tsx
│ │ ├── Avatar.module.css
│ │ └── Avatar.stories.tsx
│ ├── Button/
│ │ ├── Button.tsx
│ │ ├── Button.module.css
│ │ └── Button.stories.tsx
│ └── Input/
│ ├── Input.tsx
│ ├── Input.module.css
│ └── Input.stories.tsx
├── index.ts
└── index.css🛠️ Development
To set up the project locally:
- Clone the repository:
git clone https://github.com/arin-paliwal/Engage360-CustomUI-NPM-Package.git - Navigate to the project folder:
cd Engage360-CustomUI-NPM-Package - Install dependencies:
npm install - Start the development server:
npm run dev
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
🤝 Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m "Add your feature" - Push the branch:
git push origin feature/your-feature - Open a pull request.
🌟 Show Your Support
If you find this library useful, please ⭐️ the repository and share it with others!
📭 Contact
For any questions or feedback, feel free to open an issue or contact the author directly.
