Ready to use password input component with validation and formatting. The component extend the <BaseInput> component, so you can use all the props and events of the base component.
Show codeHide code
Changing the locale allows to change the language of the password strength feedback and the dictionaries used to validate the password.
You can install and load dictionaries from the zxcvbn-ts package or create your own dictionary.
Show codeHide code
Show codeHide code
Show codeHide code
Show codeHide code
Name
Type
Default
user-inputsThe user inputs to include in the calculation.
Show exampleHide example
localeThe locale to use for the feedback strings and dictionary.
Show exampleHide example
roundedThe radius of the input.
Show exampleHide example
showWhether the password is visible or not by default.
Show exampleHide example
touchedWhether the input has been touched or not, this is used to show the feedback.
Show exampleHide example
disabledShow exampleHide example
Name
Emitted Value Type
@validationShow exampleHide example
@visibilityShow exampleHide example
Name
Slot Prop Type
#helpShow exampleHide example
#actionShow exampleHide example
#defaultShow exampleHide example
Name
Type
validationShow exampleHide example
showPasswordShow exampleHide example
toggleVisibilityShow exampleHide example
inputRef