Full-height passwordless sign-in screen with a single email field, a send-magic-link button, a helper note, and social login providers below a divider. Perfect for passwordless and email-link authentication flows.
Full-height passwordless sign-in screen: a centered icon badge, a single email field with a helper note beneath it, a send-magic-link button, then a divider and a stack of social provider buttons below, with a sign-up prompt at the bottom.
Free block
This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.
Radix flavor
npx shadcn add "https://ui.beste.co/r/auth6"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/auth6"This installs the block to components/beste/block/auth6.tsx and the button, input, and field shadcn/ui primitives it's built on.
The installed file exports auth6Demo alongside the block: the exact props behind the preview above. Spread it to get a working passwordless sign-in screen in one line.
import { Auth6, auth6Demo } from "@/components/beste/block/auth6";
export default function SignInPage() {
return <Auth6 {...auth6Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Sparkles } from "lucide-react";
import { Auth6 } from "@/components/beste/block/auth6";
export default function SignInPage() {
return (
<Auth6
icon={<Sparkles className="size-6" />}
heading="Sign in with email"
description="No password needed. We'll email you a secure link to sign in instantly."
signupPrompt={{ text: "New here?", linkLabel: "Create an account", href: "/sign-up" }}
labels={{
email: "Email",
emailPlaceholder: "you@example.com",
submit: "Send magic link",
helper: "The link signs you in with one click and expires in 10 minutes.",
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
icon | React.ReactNode | – | Icon shown inside the circular badge above the heading |
heading | string | – | Screen title |
description | string | – | Subtext below the heading |
socialProviders | SocialProvider[] | [] | Buttons rendered below the divider, after the email field |
signupPrompt | { text: string; linkLabel: string; href: string } | – | Line below the card, hidden entirely when not set |
labels | object | {} | Field, submit, helper, and divider copy, see below |
className | string | – | Extra classes for the outer <section> |
type SocialProvider = { label: string; icon: React.ReactNode; href?: string };
type Auth6Labels = {
email?: string;
emailPlaceholder?: string;
submit?: string;
helper?: string;
divider?: string;
};Auth1: the email field and submit button come first, and the social providers sit below a divider afterward, matching the "email is primary" framing of a magic-link flow.labels.helper renders as a FieldDescription directly under the email input; it is plain text, not HTML, unlike the legal string in other auth blocks.<form> only calls e.preventDefault() on submit; there is no onSubmit prop and no email value is read anywhere in the component (the Input is uncontrolled), so the integrator has to wire up both state and the actual magic-link request.asChild links (next/link), not real OAuth triggers; each is just a styled anchor to provider.href.Wiring the form up
This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.
auth20
Full-height confirmation screen shown after a magic link is sent, with a mail icon, the destination email, an open-email button, a live resend countdown, and a change-email link. Perfect for passwordless and email-link flows.
auth21
Full-height passwordless sign-in screen with a fingerprint icon, a continue-with-passkey button, and a password fallback below a divider. Perfect for WebAuthn and biometric authentication flows.
auth14
Full-height single sign-on screen with a work-email field, a continue-with-SSO button, and Google and Microsoft providers below a divider. Perfect for B2B and enterprise apps that authenticate via identity providers.
auth8
Full-height re-authentication screen showing the signed-in user's avatar, name, and email with a single password field, a forgot-password link, and a use-a-different-account option. Perfect for session unlock and returning-user prompts.
auth17
Full-height signed-out screen with a centered icon, a heading and message, a sign-back-in button, and a return-home link. Perfect for logout confirmations and expired-session pages.
auth4
Full-height password recovery screen with a centered icon, single email field built on the shadcn Field primitives, a send-reset-link button, and a back-to-sign-in link. Perfect for the first step of any password reset flow.