New Sign-In Security Alert

New sign-in detected

We noticed a new sign-in to your account. If this was you, no action is needed.

  • Device

    Chrome on macOS

  • Location

    Berlin, Germany

  • Time

    Today at 14:32

For your safety, this link expires in 24 hours.

About this block

New Sign-In Security AlertPRO

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.

Auth18: New Sign-In Security Alert

Full-height security notification screen: an icon and message announce a new sign-in, a list of device/location/time details each with their own icon badge, and two independent actions ("this was me" confirm, "secure my account"), with a footer caption below.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Auth18, auth18Demo } from "@/components/beste/block/auth18";

export default function SecurityAlertPage() {
  return <Auth18 {...auth18Demo} />;
}

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

tsx
import { Clock, Monitor, ShieldAlert } from "lucide-react";
import { Auth18 } from "@/components/beste/block/auth18";

export default function SecurityAlertPage() {
  return (
    <Auth18
      icon={<ShieldAlert className="size-6" />}
      heading="New sign-in detected"
      description="We noticed a new sign-in to your account. If this was you, no action is needed."
      details={[
        { icon: <Monitor className="size-5" />, label: "Device", value: "Chrome on macOS" },
        { icon: <Clock className="size-5" />, label: "Time", value: "Today at 14:32" },
      ]}
      confirmButton={{ label: "Yes, this was me", href: "/account" }}
      secureButton={{ label: "Secure my account", href: "/account/security" }}
      labels={{ footer: "For your safety, this link expires in 24 hours." }}
    />
  );
}

Props

PropTypeDefaultDescription
iconReact.ReactNodeIcon shown inside the circular badge above the heading
headingstringScreen title
descriptionstringMessage below the heading
detailsSignInDetail[][]Label/value rows describing the sign-in
confirmButton{ label: string; href: string }Filled "this was me" action
secureButton{ label: string; href: string }Outline "secure my account" action
labels{ footer?: string }{}Footer caption text
classNamestringExtra classes for the outer <section>
ts
type SignInDetail = {
  icon: React.ReactNode;
  label: string;
  value: string;
};

Behavior notes

  • Fully static and presentational: there is no <form>, no inputs, and no local state; both actions are plain links.
  • Each details row shows a leading icon in a circular bg-muted badge next to a label/value pair (e.g. "Device" / "Chrome on macOS"); the value text is truncated with truncate if it overflows its row.
  • confirmButton (filled) and secureButton (variant="outline") render independently: either, both, or neither can appear, and there is no logic tying one to the other.
  • labels.footer renders as a plain caption below the card only when set; the "expires in 24 hours" copy in the demo is static text with no actual countdown or expiry logic behind it.
  • The details list itself is optional and only renders when non-empty, so the block can also serve as a bare confirm/secure prompt without any device information.

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

auth40

Change Password

Full-height change-password screen with current, new, and confirm password fields (show/hide toggles), a forgot-password link, and a cancel option. Perfect for account security settings.

PRO

auth27

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.

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.

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

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.