Engage360-CustomUI-NPM-Package Tailwind Templates

Engage360 Customui Npm Package

A modern React UI components library for Engage360, styled with Tailwind CSS and optimized for scalability and performance.

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-ui

or 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:

  1. Install dependencies:
    npm install
    
  2. 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:

  1. Clone the repository:
    git clone https://github.com/arin-paliwal/Engage360-CustomUI-NPM-Package.git
    
  2. Navigate to the project folder:
    cd Engage360-CustomUI-NPM-Package
    
  3. Install dependencies:
    npm install
    
  4. 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:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature
    
  3. Commit your changes:
    git commit -m "Add your feature"
    
  4. Push the branch:
    git push origin feature/your-feature
    
  5. 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.

Top categories

Loading Svelte Themes