PinInput
A component for entering a PIN or OTP (One-Time Password).
Usage
astro
<PinInput length={6} name="otp" /> API Reference
| Property | Description | Type | Default |
|---|---|---|---|
| length | The number of characters in the PIN. | number | 4 |
| error | Error state or message. | string | boolean | - |
| name | The name of the hidden input used for form submission. | string | - |