AuthLayout
A full-page frame for auth screens: the form on one half, a brand panel on the other; the panel hides on mobile.
Status: beta. Category: Auth.
import { AuthLayout, AuthNotice } from '@glyphui/auth/ui'
Exports: AuthLayout, AuthNotice, authLayoutStyles, authNoticeStyles.
Notes
- The panel gets a soft glow in your theme’s primary color; put a testimonial, product shot or illustration in it.
- AuthNotice is the confirmation card the screens use ("Check your email", "Password updated"); use it for your own steps.
- side="left" puts the panel first on large screens.
AuthLayout props
| Prop | Type | Default | Description |
|---|---|---|---|
children (required) | ReactNode | The screen: SignInForm, SignUpForm, ... | |
aside | ReactNode | The side panel on large screens: a testimonial, product shot or brand art. Hidden on mobile. | |
brand | ReactNode | Logo or product name, top left. | |
className | string | ||
footer | ReactNode | Small print under the form: legal links, copyright. | |
side | "left" | "right" | Which side the panel sits on. Default right. |
Example: Split screen
Shown in a frame here; in an app it fills the page.
import { AuthProvider } from '@glyphui/auth'
import { memoryAdapter } from '@glyphui/auth/memory'
import { AuthLayout, SignInForm } from '@glyphui/auth/ui'
import { Text } from '@glyphui/ui'
const adapter = memoryAdapter({ latency: 400, oauthProviders: [] })
export default function Example() {
return (
<div className="w-full overflow-hidden rounded-lg border border-border [&_[data-slot=auth-layout]]:min-h-[34rem]">
<AuthProvider adapter={adapter} syncTabs={false}>
<AuthLayout
brand="Ledgerline"
footer="© 2026 Ledgerline, Inc."
aside={
<figure className="grid max-w-sm gap-3">
<blockquote className="font-display text-h4 text-balance">
“We closed the books two days faster the first month.”
</blockquote>
<Text size="small" tone="muted">
Priya Raman, Controller at Northwind
</Text>
</figure>
}
>
<SignInForm headingLevel={3} magicLink={false} />
</AuthLayout>
</AuthProvider>
</div>
)
}
Live page: https://glyphui.xyz/components/auth-layout