Skip to main content

Use case

The <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:
try out the<hanko-auth> component.
If you want to create a dedicated Registration page:
try out the <hanko-registration> component .

Features

Usage

Markup

Attributes

Adding <hanko-login> component

The following examples show how to integrate the <hanko-login> component in different full-stack and frontend frameworks.

Full stack

components/HankoLogin.tsx

Frontend

components/HankoLogin.tsx
You should see an interface similar to this 👇
sign-up
For more detailed instructions on integrating <hanko-login> component with your favorite frameworks, navigate to quickstart guides.