Docs / components / AuthPage

AuthPage

componentnot for built apps

Complete pre-built auth page with login/register tabs and optional Google sign-in.

import { AuthPage } from 'flowstack-sdk'

Parameters

ParamTypeNotesDescription
defaultTab"login" | "register"Which tab is active on mount.
onSuccess() => voidCalled after a successful auth, e.g. to route to the dashboard.
showGooglebooleanShow the Google sign-in button.

Examples

Complete auth page with login/register tabs
<AuthPage defaultTab="login" onSuccess={() => router.push('/dashboard')} showGoogle />

See also

LoginForm · RegisterForm · AuthGuard

Source: README.md#pre-built-page-components · Also available in llms-full.txt and registry.json.