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

NameDefaultDescription
containerClassName
string

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

NameDefaultDescription
indexRequired
number

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.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.