A web component that handles user login.
<hanko-login>
web component, which provides a dedicated login interface for existing users. You’ll learn how to integrate this component for applications that require separate login and registration flows or controlled-access scenarios.Key Technologies:<hanko-login>
component for login-only flows<hanko-login>
component is designed for dedicated login interfaces and intentionally excludes registration functionality, unlike <hanko-auth>
. This makes it ideal for controlled-access applications such as enterprise systems, internal tools, or invitation-based platforms where user registration needs to be restricted.
If you want to Combine Login and Register on the same page: <hanko-auth>
component.
If you want to create a dedicated Registration page: <hanko-register>
component .
Login | Allows users to securely log in to their existing accounts. |
Passkeys | Enables passwordless login with modern device credentials. |
Passcodes | Useful for email-based login and verification workflows. |
2FA | Users can use a TOTP app or security keys. |
OAuth SSO | Allows users to log in using third-party identity providers (e.g., Google, Apple). |
Passwords | Supports traditional password-based login for broader accessibility. |
Name | Description |
---|---|
prefilled-email | Used to prefill the email input field |
prefilled-username | Used to prefill the username input field |
lang | Used to specify the language of the content within the element |
<hanko-login>
component<hanko-login>
component in different full-stack and frontend frameworks.
<hanko-login>
component with your favorite frameworks, navigate to quickstart guides.