@rahmatsaputra-my-id/react-js-library
v0.0.73
Published
[](#license) A React component and utility library developed by Rahmat Saputra to simplify and accelerate the development of modern React applications.
Readme
React JS Library
A React component and utility library developed by Rahmat Saputra to simplify and accelerate the development of modern React applications.
🔍 Overview
React JS Library provides a set of reusable UI components and custom utilities built with TypeScript and React.
It aims to help developers build scalable and maintainable front-end applications quickly and efficiently.
✅ Key Features
- Reusable and customizable UI components (e.g., Button, Modal, Input).
- Custom React hooks for state management, form handling, and side effects.
- Written in TypeScript for full type safety.
- Configured with Rollup for optimized production builds.
- Ready for unit testing and CI/CD integration.
📦 Installation
# via npm
npm install @rahmatsaputra-my-id/react-js-library
# or via yarn
yarn add @rahmatsaputra-my-id/react-js-libraryNote: Update the package name based on the actual npm publication.
🛠️ Usage Example
import React from "react";
import { Button } from "@rahmatsaputra-my-id/react-js-library";
function App() {
return (
<div>
<Button onClick={() => alert("Clicked!")}>Click Me</Button>
</div>
);
}
export default App;🧩 Available Exports
Button– Standard button component withonClick,children, andvariantprops.Modal– Overlay dialog withisOpen,onClose, andchildrenprops.- (Add more components or utilities as the library grows.)
🤝 Contributing
Contributions are welcome!
- Fork this repository.
- Create a new branch for your feature or fix:
git checkout -b feature/new-feature - Commit and push your changes.
- Open a pull request to the
masterbranch. - Follow coding standards and documentation guidelines.
📜 License
This project is licensed under the MIT License — see the LICENSE file for details.
💡 Author
Rahmat Saputra
