Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Select
Custom Inputs
Components
Navigation
Components
68
Micro Charts
Libraries
Kanban Board
Image Designer
Video Player
Visual Builder
Content Editor
Data View
Purchase

Password Strength

Password Strength provides real-time feedback while a user creates or changes a password. It shows a strength bar and can show detailed requirement status for length, lowercase, uppercase, digit, special character, and custom rules.

Use it next to a password input in signup, reset password, change password, account security, and credential setup forms.

Use ngs-pass-toggle-visibility as a form-field suffix when users need to show or hide the password. Use PasswordStrengthInfo when the form should explain exactly which requirements are satisfied.

Do not use Password Strength for OTP, MFA, invite codes, or passcodes; use PinInput. Do not use it for generic text validation. Do not rely on it as the only password security policy; the backend must validate the password too.

Key Features:
  • Real-time Feedback: Instantly updates the strength bar as the user types.
  • Configurable Rules: Easily enable or disable rules for length, digits, special characters, etc.
  • Detailed Info: Use the PasswordStrengthInfo component to display specific requirement status.
  • Visibility Toggle: Includes a helper component for toggling password visibility.

The NgStarter Angular Password Strength component lets you show real-time password strength feedback and requirement status while users create or change a password. Use PasswordStrength in signup, reset password, change password, account security, and credential setup forms. It includes examples for Basic password strength, Password strength info, and Password toggle visibility.

Basic password strength

Use the strength bar below a password field when users create or change a password.

Password strength info

Use password strength info when users need to see which password requirements are already satisfied.

0 / 25
contains at least one lower character
contains at least one upper character
contains at least one digit character
contains at least one special character
contains at least minimum characters

Password toggle visibility

Use password toggle visibility as a suffix control inside a password form field.