# @blaze-react/input

> Create basic single-line input fields.

Latest version **0.8.0-alpha.112** (published 2025-10-01) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @blaze-react/input
pnpm add @blaze-react/input
yarn add @blaze-react/input
bun add @blaze-react/input
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 0.8.0-alpha.112 |
| Published | 2025-10-01 |
| First published | 2019-06-20 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | byte9 |
| Maintainers | marekb9, mcabrerapf, daoyong, grzegorzi, ishrat, andypail, tanane |

## Links

- npm: https://www.npmjs.com/package/@blaze-react/input
- npm.io page: https://npm.io/package/@blaze-react/input

## Dependencies (1)

- [@blaze-react/tooltip](https://npm.io/package/@blaze-react/tooltip.md) ^0.8.0-alpha.112

## Recent versions

- 0.8.0-alpha.112 (latest) — 2025-10-01
- 0.8.0-alpha.117 (alpha) — 2026-03-11
- 0.8.0-alpha.115 — 2026-02-23
- 0.8.0-alpha.114 — 2026-01-08
- 0.8.0-alpha.110 — 2025-09-10
- 0.8.0-alpha.103 — 2025-07-07
- 0.8.0-alpha.102 — 2025-07-01
- 0.8.0-alpha.101 — 2025-06-27
- 0.8.0-alpha.100 — 2025-02-26
- 0.8.0-alpha.98 — 2024-11-27
- 0.8.0-alpha.97 — 2024-11-21
- 0.8.0-alpha.96 — 2024-11-21
- 0.8.0-alpha.95 — 2024-11-21
- 0.8.0-alpha.93 — 2024-11-19
- 0.8.0-alpha.92 — 2024-11-13
- … 120 more at https://npm.io/package/@blaze-react/input/versions

## README

## Description

Create basic single-line input fields.

## Usage

- Required

```js
<Input
  label="Text input required"
  placeholder="Placeholder text"
  onChange={({ event, value }) => {}}
  modifier="full-width"
  validationMessage="Email address is required"
  error
  required
/>
```

- Disabled

```js
<Input
  label="Text input disabled"
  placeholder="Placeholder text"
  onChange={({ event, value }) => {}}
  type="password"
  hideTypeToggle
  disabled
/>
```

- Password toggle type

```js
<Input
  label="Password - show hide"
  placeholder="******"
  onChange={({ event, value }) => {}}
  type="password"
  value="Lorem ipsum"
/>
```

## API

##### Input can receive a number of `props` as follow:

| NAME              |   TYPE   |        DEFAULT         |
| :---------------- | :------: | :--------------------: |
| label             |  String  |         empty          |
| type              |  String  |          text          |
| value             |  String  |         empty          |
| validationMessage |  String  | This field is required |
| disabled          | Boolean  |         false          |
| required          | Boolean  |         false          |
| hideTypeToggle    | Boolean  |         false          |
| error             | Boolean  |         false          |
| onChange          | Function |        () => {}        |

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