PinInput
InputsAn OTP/PIN input field.
Preview
Usage
<PinInput length={6} bind:value={pin} />Props
| Name | Type | Default | Description |
|---|---|---|---|
| value | string | '' | The entered PIN. |
| length | number | 4 | Number of digits. |
| mask | boolean | false | Mask input like password. |
An OTP/PIN input field.
<PinInput length={6} bind:value={pin} />| Name | Type | Default | Description |
|---|---|---|---|
| value | string | '' | The entered PIN. |
| length | number | 4 | Number of digits. |
| mask | boolean | false | Mask input like password. |