Skip to Content
Archi-ui 1.0.25 is released 🎉
ComponentsPinInput

PinInput

Used to capture a pin code or otp from the user.

Basic PinInput

Usage

import { PinInput } from 'archi-ui'
<Input type="text" placeholder='Enter name' />

Variants

The PinInput comes with three variants: outlined(default), filled, standard.

Size

For different size of Input like small, medium, large use size prop.

Controlled PinInput

Used to capture a pin code or otp from the user.

PinInput Validation

The error prop toggles the error state. The FormHelperText can then be used to provide feedback to the user about the error.

Try typing "1234" to clear the error.

Enter the pin

Last updated on