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
vue
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
vue
Show codeHide code
vue
Show codeHide code
vue
Show codeHide code
vue
Name
Type
disabledShow exampleHide example
vue
localeThe locale to use for the feedback strings and dictionary.
Show exampleHide example
vue
roundedThe radius of the input.
Show exampleHide example
vue
showWhether the password is visible or not by default.
Show exampleHide example
vue
touchedWhether the input has been touched or not, this is used to show the feedback.
Show exampleHide example
vue
user-inputsThe user inputs to include in the calculation.
Show exampleHide example
vue
Name
Emitted Value Type
@validationShow exampleHide example
vue
@visibilityShow exampleHide example
vue
Name
Slot Prop Type
#helpShow exampleHide example
vue
#actionShow exampleHide example
vue
#defaultShow exampleHide example
vue
Name
Type
validationShow exampleHide example
vue
showPasswordShow exampleHide example
vue
toggleVisibilityShow exampleHide example
vue
inputRefShow exampleHide example
vue