Password Reset With Live StrengthPRO

A centered password reset card whose segmented strength meter and checked requirement list update as the field is typed, with a confirmation field and a breach-check note underneath.

Auth52: Password Reset With Live Strength

A centered password reset card whose segmented strength meter and checked requirement list update as the field is typed, with a confirmation field and a breach-check note underneath.

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.

Upgrade Now

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

Base UI flavor

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

This installs the block to components/beste/block/auth52.tsx, the shadcn/ui input component it depends on, and the button21 component it uses for the action.

Quick start

The installed file exports auth52Demo alongside the block: the exact props behind the preview above. Spread it to get a working reset page in one line.

tsx
import { Auth52, auth52Demo } from "@/components/beste/block/auth52";

export default function ResetPage() {
  return <Auth52 {...auth52Demo} />;
}

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

tsx
import { Auth52 } from "@/components/beste/block/auth52";

export default function ResetPage() {
  return (
    <Auth52
      wordmark="sirius"
      heading="Choose a new password"
      description="Once you set a password here, every other session on your account is signed out."
      passwordLabel="New password"
      passwordPlaceholder="At least twelve characters"
      confirmLabel="Type it again"
      confirmPlaceholder="The same password"
      strengthLabels={["Too short", "Weak", "Reasonable", "Strong"]}
      requirements={[
        { label: "Twelve characters or more", minLength: 12 },
        { label: "Upper and lower case", needsMixedCase: true },
        { label: "At least one number", needsNumber: true },
        { label: "At least one symbol", needsSymbol: true },
      ]}
      submitLabel="Set the password and sign in"
      note="We check new passwords against public breach lists."
      backLink={{ label: "Back to sign in", href: "/signin" }}
    />
  );
}

Props

PropTypeDefaultDescription
wordmarkstringLowercase wordmark at the top of the card
headingstringCard heading, rendered as the h1
descriptionstringSupporting paragraph under the heading
passwordLabelstringLabel for the controlled password field
passwordPlaceholderstringPlaceholder for the password field
confirmLabelstringLabel for the confirmation field
confirmPlaceholderstringPlaceholder for the confirmation field
strengthLabelsstring[][]Words for each strength level, weakest first
requirementsRequirement[][]Rules checked live against the typed value
submitLabelstringLabel for the submit button
notestringSmall line under the submit button
backLink{ label: string; href: string }Link under the card's hairline
classNamestringExtra classes for the outer section
ts
type Requirement = {
  label: string;
  minLength?: number;
  needsNumber?: boolean;
  needsSymbol?: boolean;
  needsMixedCase?: boolean;
};

Behavior notes

Wiring the form up

The live strength meter is presentational; submission and the confirm-match check are yours. The patterns in React Hook Form, TanStack Form, and Formisch cover validation and cross-field rules for exactly this shape of form.

More Auth blocks

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

auth1

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.

PRO

auth51

Passwordless Code Sign In

A centered passwordless card that advances in place from a work email step with an SSO fallback to a monospace one-time-code entry with resend and go-back controls.

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.

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.

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.