# 4leaf-hooks-useinput

> React Hooks to realtime change input value

Latest version **0.0.3** (published 2021-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install 4leaf-hooks-useinput
pnpm add 4leaf-hooks-useinput
yarn add 4leaf-hooks-useinput
bun add 4leaf-hooks-useinput
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2021-08-16 |
| First published | 2021-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 4LEAF.YSH |
| Maintainers | 4leaf.ysh |
| Keywords | react, hooks, 4leaf, useInput, input |

## Links

- npm: https://www.npmjs.com/package/4leaf-hooks-useinput
- Homepage: https://github.com/riosee2415/4leaf-hooks/useInput
- npm.io page: https://npm.io/package/4leaf-hooks-useinput

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2021-08-16
- 0.0.2 — 2021-08-16
- 0.0.1 — 2021-08-16

## README

# 4leaf-hooks-useinput

React Hooks to realtime change input value

## installation

- yarn

  <pre>
   yarn add 4leaf-hooks-useinput
  </pre>

- npm
  <pre>
   npm install 4leaf-hooks-useinput
  </pre>

## Usage

```js
import React from "react";
import useInput from "4leaf-hooks-useinput";

const App = () => {

  const formId = useInput(``);

  // If you change the value
  formId.setValue("New Value Here!");

  return <form>
    <div>
        <label> ID </label>
        <input type="text" {...formId}/>
    </div>
  <form>
  ;
}
```

## Arguments

<table>
  <thead>
    <tr>
      <th> Argument </th>
      <th> Type </th>
      <th> Description </th>
      <th> Required </th>
    <tr>
  </thead>
  <tbody>
    <tr>
      <td> String </td>
      <td> String </td>
      <td> Auto Setting Value and onChange with setValue </td>
      <td> YES </td>
    </tr>
  </tbody>
</table>

---
_Source: https://npm.io/package/4leaf-hooks-useinput · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
