# react-individual-input-box

> React component for individual character input box

Latest version **1.0.9** (published 2019-11-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-individual-input-box
pnpm add react-individual-input-box
yarn add react-individual-input-box
bun add react-individual-input-box
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2019-11-23 |
| First published | 2019-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 99 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | lucasga |
| Maintainers | lucasga |

## Links

- npm: https://www.npmjs.com/package/react-individual-input-box
- Repository: https://github.com/lucasga/react-individual-input-box
- Homepage: https://github.com/lucasga/react-individual-input-box#readme
- Issues: https://github.com/lucasga/react-individual-input-box/issues
- npm.io page: https://npm.io/package/react-individual-input-box

## Dependencies (2)

- [mobx-react](https://npm.io/package/mobx-react.md) ^6.1.4
- [@types/styled-components](https://npm.io/package/@types/styled-components.md) ^4.4.0

## Recent versions

- 1.0.9 (latest) — 2019-11-23
- 1.0.8 — 2019-11-23
- 1.0.7 — 2019-11-23
- 1.0.6 — 2019-11-23
- 1.0.5 — 2019-11-23
- 1.0.4 — 2019-11-22
- 1.0.3 — 2019-11-22
- 1.0.2 — 2019-11-22
- 1.0.1 — 2019-11-22
- 1.0.0 — 2019-11-22

## README

# react-individual-input-box

> React component for individual character input box

[![NPM](https://img.shields.io/npm/v/react-individual-input-box.svg)](https://www.npmjs.com/package/react-individual-input-box) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Example

![](react-individual-input-box-example-gif.gif)



## Install

```bash
npm install --save react-individual-input-box
```

## Usage

```tsx
import * as React from "react";

import InputBox from "react-individual-input-box";

class Example extends React.Component {
  render() {
    return (
      <InputBox
        size={4}
        value={this.value}
        onChange={() => this.onChange()}
        isPassword
        onlyNumbers
      />
    );
  }
}
```

## Props

Common props you may want to specify include:

- `size` - number of input boxes
- `value` - control the current value 
- `isPassword` - apply password dots to hide input data
- `onlyNumber` - allow only numbers
- `isConfirmInput` - allow use the input box component two times in screent as a confirm data input
- `onChange` - subscribe to change events


## License

MIT © [lucasga](https://github.com/lucasga)

---
_Source: https://npm.io/package/react-individual-input-box · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
