EXAMPLE SCREENS
Sign in
Split layout with a decorative aside, single-sign-on above the rule, password reveal, and a failed-submit alert.
PREVIEW
SOURCE
import {
AuthShell, AuthCard, OAuthRow, PasswordField, Field, Input, Checkbox, Alert,
} from '@objectifthunes/whiteboard'
<AuthShell
aside={<Testimonial />} {/* hidden under 880px */}
footer={<>By continuing you accept the <a href="/terms">terms</a>.</>}
>
<AuthCard
brand={<Logo />}
title="Sign in to My Whiteboard"
lede="One place for your boards, your clients and your invoices."
footer={<>No account? <ButtonLink href="/signup" variant="secondary">Create one</ButtonLink></>}
>
<OAuthRow providers={[
{ id: 'google', label: 'Google', icon: <GoogleMark />, onClick: () => signIn('google') },
{ id: 'github', label: 'GitHub', icon: <GithubMark />, onClick: () => signIn('github') },
]} />
<form onSubmit={submit} noValidate>
{error && <Alert tone="error">{error}</Alert>}
<Field label="Email"><Input type="email" autoComplete="username" /></Field>
<PasswordField autoComplete="current-password" />
<Checkbox label="Remember me" checked={remember} onChange={onRemember} />
<Button type="submit" fullWidth loading={busy} loadingText="Signing in…">Sign in</Button>
</form>
</AuthCard>
</AuthShell>NOTES
AuthShell frames it, AuthCard holds it, OAuthRow sits above the rule, PasswordField carries the reveal toggle and Alert reports the failure. No bespoke CSS.
Submitting shows the failed-sign-in path — there is no backend. The right-hand panel is the shell's aside slot, which disappears under 880px so the form always gets the full width.