# @nextui-org/input-otp

> InputOTP is a component that allows users to enter otp input. It can be used to get user otp in forms.

Latest version **2.1.8** (published 2025-01-05) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @nextui-org/input-otp
pnpm add @nextui-org/input-otp
yarn add @nextui-org/input-otp
bun add @nextui-org/input-otp
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.1.8 |
| Published | 2025-01-05 |
| First published | 2024-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 105.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 31062 |
| Author | Junior Garcia |
| Maintainers | juniorgarciadev |
| Keywords | input-otp |

## Links

- npm: https://www.npmjs.com/package/@nextui-org/input-otp
- Repository: https://github.com/nextui-org/nextui
- Homepage: https://nextui.org
- Issues: https://github.com/nextui-org/nextui/issues
- npm.io page: https://npm.io/package/@nextui-org/input-otp

## Dependencies (10)

- [input-otp](https://npm.io/package/input-otp.md) 1.4.1
- [@nextui-org/form](https://npm.io/package/@nextui-org/form.md) 2.1.8
- [@react-aria/form](https://npm.io/package/@react-aria/form.md) 3.0.11
- [@react-aria/focus](https://npm.io/package/@react-aria/focus.md) 3.19.0
- [@react-aria/utils](https://npm.io/package/@react-aria/utils.md) 3.26.0
- [@react-stately/form](https://npm.io/package/@react-stately/form.md) 3.1.0
- [@react-stately/utils](https://npm.io/package/@react-stately/utils.md) 3.10.5
- [@react-types/textfield](https://npm.io/package/@react-types/textfield.md) 3.10.0
- [@nextui-org/react-utils](https://npm.io/package/@nextui-org/react-utils.md) 2.1.3
- [@nextui-org/shared-utils](https://npm.io/package/@nextui-org/shared-utils.md) 2.1.2

## Recent versions

- 2.1.8 (latest) — 2025-01-05
- 0.0.0-canary-20250105124413 (canary) — 2025-01-05
- 2.0.1-beta.0 (beta) — 2024-11-29
- 0.0.0-canary-20250105123759 — 2025-01-05
- 0.0.0-canary-20250105105357 — 2025-01-05
- 0.0.0-canary-20250104022216 — 2025-01-04
- 0.0.0-canary-20250103215428 — 2025-01-03
- 0.0.0-canary-20250103161322 — 2025-01-03
- 0.0.0-canary-20250103144031 — 2025-01-03
- 0.0.0-canary-20250103142904 — 2025-01-03
- 0.0.0-canary-20250102192808 — 2025-01-02
- 0.0.0-canary-20250102192155 — 2025-01-02
- 0.0.0-canary-20250102191541 — 2025-01-02
- 0.0.0-canary-20241230202004 — 2024-12-30
- 0.0.0-canary-20241230121326 — 2024-12-30
- … 60 more at https://npm.io/package/@nextui-org/input-otp/versions

## README

# @nextui-org/input-otp

InputOTP is a component that allows users to enter otp input. It can be used to get user otp in forms.

This package contains the InputOTPcomponent.

Please refer to the [documentation](https://nextui.org/docs/components/input-otp) for more information.

## Installation

```sh
yarn add @nextui-org/input-otp
# or
npm i @nextui-org/input-otp
```

## Contribution

Yes please! See the
[contributing guidelines](https://github.com/nextui-org/nextui/blob/master/CONTRIBUTING.md)
for details.

## License

This project is licensed under the terms of the
[MIT license](https://github.com/nextui-org/nextui/blob/master/LICENSE).

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