AuthPage
Complete pre-built auth page with login/register tabs and optional Google sign-in.
import { AuthPage } from 'flowstack-sdk'Parameters
| Param | Type | Notes | Description |
|---|---|---|---|
defaultTab | "login" | "register" | — | Which tab is active on mount. |
onSuccess | () => void | — | Called after a successful auth, e.g. to route to the dashboard. |
showGoogle | boolean | — | Show 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.