Magic Link Sign In

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.

FREE

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.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/auth6"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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.",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
iconReact.ReactNodeIcon shown inside the circular badge above the heading
headingstringScreen title
descriptionstringSubtext below the heading
socialProvidersSocialProvider[][]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
labelsobject{}Field, submit, helper, and divider copy, see below
classNamestringExtra classes for the outer <section>
ts
type SocialProvider = { label: string; icon: React.ReactNode; href?: string };

type Auth6Labels = {
  email?: string;
  emailPlaceholder?: string;
  submit?: string;
  helper?: string;
  divider?: string;
};

Behavior notes

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.

More Auth blocks

View all Auth
PRO

auth20

Check Your Inbox

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.

PRO

auth21

Passkey Sign In

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.

PRO

auth14

Enterprise SSO Sign In

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.

PRO

auth8

Welcome Back Unlock

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.

PRO

auth17

Signed Out Confirmation

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.

FREE

auth4

Forgot Password Request

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.