PinInput
Used to capture a pin code or otp from the user.
Basic PinInput
Preview
Usage
import { PinInput } from 'archi-ui'
<Input type="text" placeholder='Enter name' />
Variants
The PinInput
comes with three variants: outlined(default), filled, standard.
Preview
Size
For different size of Input like small, medium, large use size
prop.
Preview
Controlled PinInput
Used to capture a pin code or otp from the user.
Preview
PinInput Validation
The error
prop toggles the error state. The FormHelperText
can then be used to provide feedback to the user about the error.
Preview
Try typing "1234" to clear the error.
Enter the pin
Last updated on