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.
Install the package via npm:
npm install engage360-ui
or with yarn:
yarn add engage360-ui
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!" />;
}
Avatar
: For user profile images.Button
: Styled buttons with different states.Input
: Form input fields.Each component is documented and previewable in the Storybook.
Engage360 UI comes with an integrated Storybook for interactive component development. To view the Storybook:
npm install
npm run storybook
Storybook will open at http://localhost:6006
in your browser.
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
To set up the project locally:
git clone https://github.com/arin-paliwal/Engage360-CustomUI-NPM-Package.git
cd Engage360-CustomUI-NPM-Package
npm install
npm run dev
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! To contribute:
git checkout -b feature/your-feature
git commit -m "Add your feature"
git push origin feature/your-feature
If you find this library useful, please āļø the repository and share it with others!
For any questions or feedback, feel free to open an issue or contact the author directly.