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.

PRO

Auth23: Account Locked

Full-height lockout screen shown after too many failed sign-in attempts: a centered shield icon, a heading and description, a live mm:ss countdown card, a retry button that stays disabled until the timer ends, and a reset-password link. Built for rate-limited sign-in protection.

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/auth23?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

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

Quick start

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

tsx
import { Auth23, auth23Demo } from "@/components/beste/block/auth23";

export default function AccountLockedPage() {
  return <Auth23 {...auth23Demo} />;
}

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

tsx
import { ShieldX } from "lucide-react";
import { Auth23 } from "@/components/beste/block/auth23";

export default function AccountLockedPage() {
  return (
    <Auth23
      icon={<ShieldX className="size-7" />}
      heading="Account temporarily locked"
      description="Too many failed sign-in attempts. Please wait before trying again."
      lockSeconds={90}
      retryButton={{ label: "Try again", href: "/sign-in" }}
      resetPasswordPrompt={{ text: "Forgot your password?", linkLabel: "Reset it", href: "/forgot-password" }}
      labels={{ countdown: "Try again in" }}
    />
  );
}

Props

PropTypeDefaultDescription
iconReact.ReactNodeIcon rendered in a muted circle above the heading
headingstringScreen title
descriptionstringSubtext below the heading
lockSecondsnumber90Initial countdown length, in seconds
retryButton{ label: string; href: string }Bottom action, disabled while locked; hidden entirely when not set
resetPasswordPrompt{ text: string; linkLabel: string; href: string }Line below the retry button; hidden entirely when not set
labelsobject{}Countdown copy, see below
classNamestringExtra classes for the outer <section>
ts
type Auth23Labels = { countdown?: string; retry?: string };

Behavior notes

More Auth blocks

View all Auth
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

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

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.

FREE

auth5

Set New Password

Full-height reset-password screen with new and confirm password fields (each with a show/hide toggle) and a live requirements checklist that ticks off rules as the user types. Perfect for the final step of a password reset or invite flow.

FREE

auth38

Pattern Lock Unlock

Full-height pattern unlock screen with a tappable 3x3 dot grid that draws connecting lines as dots are selected, plus clear and unlock controls. Perfect for app lock screens and quick re-authentication.

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.