Pular para o conteúdo

Password Input

Este conteúdo não está disponível em sua língua ainda.

The PasswordInput component is used to securely capture password values while allowing users to toggle visibility when needed.

  • Secure input: Masks password characters by default.
  • Visibility toggle: Allows users to show/hide the password.
  • Variant support: Multiple visual styles via variant.
  • Accessible labeling: Supports descriptive labels for clarity.
  • Form-ready: Works seamlessly inside forms and controlled state.
contained


outlined


text


PropTypeDefaultDescription
labelstringLabel displayed alongside the input.
variantstringVisual style variant of the input.
valuestring""Controlled input value.
disabledbooleanfalseDisables user interaction.
placeholderstringPlaceholder text shown when empty.
  • Always provide a clear label for accessibility.
  • Avoid disabling password inputs unless necessary.
  • Encourage strong password usage in UX flow.
  • Use consistent variant styles across forms.
  • Do not rely solely on placeholder text for labeling.