Introducing OTP Fields 🚀
This release contains the new OTP field packed with all the features your users expect!
- Use input or any other element to create an OTP field and its slots.
- Labels, descriptions, and error message displays are automatically linked to input and label elements with aria-* attributes.
- Validation support with native HTML constraint validation or Standard Schema validation.
- Support for v-model binding.
- Supports masking (hiding) the entered characters with a custom character.
- Supports prefixes (e.g. F-{code}).
- Supports custom length.
- Supports both numeric and alphanumeric OTPs.
And of course, it supports keyboard navigation, submit on completion and more!
📚 Check the docs out for examples and full showcase