InputOTP
Collects a short one-time passcode in individually displayed slots. Use it for verification codes and other fixed-length numeric credentials.
React
Ready
Figma
Import
import { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from "@kela-systems/ui-components";This page has no live example yet. Storybook shows InputOTP in every state and theme.
Props
InputOTP
| Name | Default | Description |
|---|---|---|
containerClassNamestring |
It also takes the props of input-otp.
InputOTPGroup
No props of its own. It also takes the attributes of the HTML element it renders.
InputOTPSlot
| Name | Default | Description |
|---|---|---|
indexRequirednumber |
It also takes the attributes of the HTML element it renders.
InputOTPSeparator
No props of its own. It also takes the attributes of the HTML element it renders.