auth login email oauth magic-link passwordless minimal auth login email oauth magic-link passwordless sign-in email first auth form without password magic link login page passwordless sign in with OAuth and email
Auth Email First
Fetch pattern JSON:
curl https://webspire.de/patterns/auth/email-first.json email-first.html
<section class="ws-auth flex min-h-screen items-center justify-center bg-[var(--ws-auth-bg)] px-6 py-20">
<div class="mx-auto w-full max-w-[360px]">
<!-- Brand mark -->
<div class="mb-10 flex justify-center">
<span class="flex h-10 w-10 items-center justify-center rounded-xl bg-[var(--ws-auth-action-bg)]">
<svg class="h-5 w-5 text-[var(--ws-auth-action-text)]" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.091Z"/>
</svg>
</span>
</div>
<h1 class="text-center text-[22px] font-semibold tracking-tight text-[var(--ws-auth-text)]">Welcome back</h1>
<p class="mt-1.5 text-center text-sm text-[var(--ws-auth-text-soft)]">Sign in to continue</p>
<!-- OAuth providers -->
<div class="mt-8 space-y-2.5">
<button type="button" class="group flex w-full items-center gap-3 rounded-xl border border-[var(--ws-auth-input-border)] bg-[var(--ws-auth-card-bg)] px-4 py-2.5 text-sm font-medium text-[var(--ws-auth-text)] transition hover:border-[var(--ws-auth-action-bg)]/40 hover:bg-[var(--ws-auth-action-bg)]/5">
<svg class="h-4 w-4 shrink-0" viewBox="0 0 24 24" aria-hidden="true">
<path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z" fill="#4285F4"/>
<path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/>
<path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l3.66-2.84z" fill="#FBBC05"/>
<path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/>
</svg>
<span class="flex-1 text-left">Continue with Google</span>
</button>
<button type="button" class="group flex w-full items-center gap-3 rounded-xl border border-[var(--ws-auth-input-border)] bg-[var(--ws-auth-card-bg)] px-4 py-2.5 text-sm font-medium text-[var(--ws-auth-text)] transition hover:border-[var(--ws-auth-action-bg)]/40 hover:bg-[var(--ws-auth-action-bg)]/5">
<svg class="h-4 w-4 shrink-0" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
<path d="M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"/>
</svg>
<span class="flex-1 text-left">Continue with Apple</span>
</button>
</div>
<!-- Divider -->
<div class="relative my-6 flex items-center">
<div class="flex-1 border-t border-[var(--ws-auth-border)]"></div>
<span class="mx-4 text-xs text-[var(--ws-auth-text-muted)]">or</span>
<div class="flex-1 border-t border-[var(--ws-auth-border)]"></div>
</div>
<!-- Email-first form (no password — magic link / next step) -->
<form>
<label for="ef-email" class="block text-sm font-medium text-[var(--ws-auth-text)]">Email address</label>
<input
type="email"
id="ef-email"
name="email"
autocomplete="email"
required
placeholder="you@example.com"
class="mt-2 block w-full rounded-xl border border-[var(--ws-auth-input-border)] bg-[var(--ws-auth-card-bg)] px-4 py-2.5 text-sm text-[var(--ws-auth-text)] placeholder:text-[var(--ws-auth-text-muted)] focus:border-[var(--ws-auth-action-bg)] focus:outline-none focus:ring-1 focus:ring-[var(--ws-auth-action-bg)]"
>
<button
type="submit"
class="mt-3 w-full rounded-xl bg-[var(--ws-auth-action-bg)] px-4 py-2.5 text-sm font-semibold text-[var(--ws-auth-action-text)] transition hover:opacity-90"
>
Continue with email
</button>
</form>
<!-- Footer links -->
<p class="mt-8 text-center text-xs text-[var(--ws-auth-text-muted)]">
By continuing you agree to our
<a href="#" class="underline underline-offset-2 hover:text-[var(--ws-auth-text)]">Terms</a>
and
<a href="#" class="underline underline-offset-2 hover:text-[var(--ws-auth-text)]">Privacy Policy</a>.
</p>
</div>
</section>
Details
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
authloginemailoauthmagic-linkpasswordlessminimal
Slots
| Name | Required | Description |
|---|---|---|
| brand | No | Logo or brand mark centered above the form. |
| oauth | Yes | OAuth provider buttons (Google, Apple, etc.). |
| email-form | Yes | Single email input and Continue button. |
| footer | No | Terms and Privacy Policy links. |
Minimal, full-screen auth layout inspired by modern SaaS products (claude.ai, Linear). OAuth provider buttons appear first (Google, Apple) with a clean hover state. Below an “or” divider sits a single email field with a “Continue” button — no password visible upfront. The password or magic link step happens server-side or on the next screen. Extremely low friction, high conversion auth entry point.