Centered Sign In Card

Full-height centered sign-in screen with social login providers, email and password fields, a show/hide password toggle, remember-me checkbox, and forgot-password link. Perfect for SaaS apps, dashboards, and member portals.

FREE

Auth1: Centered Sign In Card

Single-column sign-in screen centered in the viewport: a stack of social provider buttons above a divider, then email and password fields (with a show/hide toggle on the password), a forgot-password link, a remember-me checkbox, and a submit button, all inside one bordered card.

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/auth1"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/auth1"

This installs the block to components/beste/block/auth1.tsx and the button, input, field, and checkbox shadcn/ui primitives it's built on.

Quick start

The installed file exports auth1Demo alongside the block: the exact props behind the preview above. Spread it to get a working sign-in screen in one line.

tsx
import { Auth1, auth1Demo } from "@/components/beste/block/auth1";

export default function SignInPage() {
  return <Auth1 {...auth1Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Auth1 } from "@/components/beste/block/auth1";

export default function SignInPage() {
  return (
    <Auth1
      heading="Welcome back"
      description="Sign in to your account to continue"
      forgotPasswordLink={{ label: "Forgot password?", href: "/forgot-password" }}
      signupPrompt={{ text: "Don't have an account?", linkLabel: "Sign up", href: "/sign-up" }}
      labels={{
        email: "Email",
        emailPlaceholder: "you@example.com",
        password: "Password",
        passwordPlaceholder: "Enter your password",
        rememberMe: "Remember me",
        submit: "Sign in",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
headingstringScreen title above the card
descriptionstringSubtext below the heading
socialProvidersSocialProvider[][]Buttons rendered above the divider
forgotPasswordLink{ label: string; href: string }Link shown at the right of the password field label
signupPrompt{ text: string; linkLabel: string; href: string }Line below the card, hidden entirely when not set
labelsobject{}Field/button copy, see below
classNamestringExtra classes for the outer <section>
ts
type SocialProvider = { label: string; icon: React.ReactNode; href?: string };

type Auth1Labels = {
  divider?: string;
  email?: string;
  emailPlaceholder?: string;
  password?: string;
  passwordPlaceholder?: string;
  rememberMe?: string;
  submit?: string;
  legal?: string;
  passwordToggle?: 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
FREE

auth13

Centered Sign Up Card

Full-height centered registration card with social providers, name, email, and password fields (with show/hide), a terms checkbox, and a sign-in link. Perfect for SaaS sign-up pages that don't need a split layout.

PRO

auth9

Split-Screen Sign In

Two-column sign-in screen pairing a full sign-in form (social providers, email, password with show/hide, remember me) with a brand panel that lists product highlights. Includes a left/right panel position toggle.

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

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.

FREE

auth6

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.