Sign-In Error

Full-height authentication error screen with a warning icon, an explanation, an optional error code, and try-again, back, and contact-support actions. Perfect for failed sign-in and OAuth callback errors.

PRO

Auth27: Sign-In Error

Full-height authentication error screen: a warning icon in a destructive-tinted circle, a heading and explanation, an optional monospace error-code chip, a try-again and back-to-sign-in pair of actions, and a contact-support line. Built for failed sign-in and OAuth callback error states.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/auth27?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/auth27?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/auth27.tsx and the button shadcn/ui primitive it's built on.

Quick start

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

tsx
import { Auth27, auth27Demo } from "@/components/beste/block/auth27";

export default function SignInErrorPage() {
  return <Auth27 {...auth27Demo} />;
}

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

tsx
import { TriangleAlert } from "lucide-react";
import { Auth27 } from "@/components/beste/block/auth27";

export default function SignInErrorPage() {
  return (
    <Auth27
      icon={<TriangleAlert className="size-7" />}
      heading="We couldn't sign you in"
      description="Something went wrong while signing you in. Please try again."
      labels={{ errorDetail: "Error code: AUTH_4012" }}
      tryAgainButton={{ label: "Try again", href: "/sign-in" }}
      backButton={{ label: "Back to sign in", href: "/sign-in" }}
      supportPrompt={{ text: "Still stuck?", linkLabel: "Contact support", href: "/support" }}
    />
  );
}

Props

PropTypeDefaultDescription
iconReact.ReactNodeIcon rendered in a destructive-tinted circle above the heading
headingstringScreen title
descriptionstringExplanation below the heading
labelsobject{}Error-code copy, see below
tryAgainButton{ label: string; href: string }Primary action; hidden entirely when not set
backButton{ label: string; href: string }Ghost action below the primary button; hidden entirely when not set
supportPrompt{ text: string; linkLabel: string; href: string }Line below the actions; hidden entirely when not set
classNamestringExtra classes for the outer <section>
ts
type Auth27Labels = { errorDetail?: string };

Behavior notes

More Auth blocks

View all Auth
PRO

auth46

Confirm It's You

Full-height step-up authentication screen that re-asks for the password before a sensitive action, showing the signed-in account and a cancel option. Perfect for protecting billing, security, and destructive actions.

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.

PRO

auth18

New Sign-In Security Alert

Full-height security notification screen listing the device, location, and time of a new sign-in, with confirm-it-was-me and secure-my-account actions. Perfect for suspicious-login alerts and account safety 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

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

auth23

Account Locked

Full-height lockout screen shown after too many failed attempts, with a live mm:ss countdown, a retry button that unlocks when the timer ends, and a reset-password link. Perfect for rate-limited sign-in protection.