# InputOTP

Collects a short one-time passcode in individually displayed slots. Use it for verification codes and other fixed-length numeric credentials.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-inputotp--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/inputs), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=76-89)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### InputOTP

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `containerClassName` | `string` |  |  |

Also takes the props of `input-otp`.

### InputOTPGroup

Also takes the attributes of the HTML element it renders.

### InputOTPSlot

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `index` (required) | `number` |  |  |

Also takes the attributes of the HTML element it renders.

### InputOTPSeparator

Also takes the attributes of the HTML element it renders.
