Login Form
A login form component for authentication.
Installation
pnpm add @notion-kit/auth-uiExamples
Login Form
API Reference
LoginForm
Note
It should be used within the <AuthProvider> context.
| Prop | Type | Default | Description |
|---|---|---|---|
mode* | LoginMode | - | The mode of the form. Either for signing up or signing in. |
callbackURL | string | - | The URL to redirect after successful authentication. |
onModeChange | (mode: LoginMode) => void | - | Handler that is called when the mode of the form changes. |