Login

The Angular Login Component provides a user interface for user authentication, featuring email and password input fields. It supports password visibility toggle, error handling, and redirection options. The component can be customized based on provided configurations.

Usage

  1. Import the component in your Angular module:
import { LoginComponent } from './path/to/login.component';

@NgModule({
  declarations: [LoginComponent],
  // Other module configurations...
})
  1. Include the <base-login> tag in your HTML:
<base-login [config]="yourLoginConfig"></base-login>

Notes

  • The component supports customization through a LoginConfig object.
  • Email and password input fields feature validation and error handling.
  • Password visibility can be toggled using the eye button.
  • The component provides options for password recovery and user registration.
  • Redirection after successful login is configurable.
  • Error messages offer specific feedback for different authentication scenarios.

Feel free to adapt the component based on your application's design and specific requirements.

Table of Contents