Login Form

A login form component for authentication.

Installation

pnpm add @notion-kit/auth-ui

Examples


Login Form

API Reference

LoginForm

Note

It should be used within the <AuthProvider> context.

PropTypeDefaultDescription
mode*LoginMode-The mode of the form. Either for signing up or signing in.
callbackURLstring-The URL to redirect after successful authentication.
onModeChange(mode: LoginMode) => void-Handler that is called when the mode of the form changes.