Hanko Elements
Auth Component
A web component that handles user login and user registration.
Features
Passkeys make a passwordless login possible.
Passcodes - perfect for authentication and email verification.
Mobile biometrics bring passkeys to your native mobile apps.
FIDO Security Keys for the best possible security.
OAuth SSO to quickly add 3rd-party identity providers to your login.
Passwords to include users who can’t go passwordless yet.
Usage
Markup
Attributes
Name | Description |
---|---|
prefilled-email | Used to prefill the email input field |
lang | Used to specify the language of the content within the element |
experimental | A space-separated list of experimental features to be enabled |
Adding <hanko-auth>
component
Examples showcasing how to add <hanko-auth>
component in different full stack and frontend frameworks.
Full Stack
components/HankoAuth.tsx
Frontend
components/HankoAuth.tsx
You should see an interface similar to this 👇
For more detailed instructions on integrating <hanko-auth>
component with your favorite frameworks, navigate to quickstart guides.
Was this page helpful?