Terminal Sign In

beste — auth login

$ beste auth login

# enter your email and we'll send a one-time login link

Press ↵ to continue · ⌃C to cancel

About this block

Terminal Sign InPRO

Full-height terminal-style sign-in rendered as a CLI window with a command prompt, a monospace email input, and a send-link action. Perfect for developer tools and CLI-first products.

Auth29: Terminal Sign In

A full-height CLI-window sign-in card rendered in a monospace typeface: a fake title bar with three dots and a window title, a $ command line, a comment line, a prompt glyph beside a borderless email input, a full-width submit button trailing a CornerDownLeft icon, and a footer hint line, all driven by a single optional labels object.

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

Base UI flavor

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

This installs the block to components/beste/block/auth29.tsx, plus the button and input shadcn/ui primitives it uses for the submit action and the email field.

Quick start

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

tsx
import { Auth29, auth29Demo } from "@/components/beste/block/auth29";

export default function LoginPage() {
  return <Auth29 {...auth29Demo} />;
}

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

tsx
import { Auth29 } from "@/components/beste/block/auth29";

export default function LoginPage() {
  return (
    <Auth29
      labels={{
        windowTitle: "acme — auth login",
        command: "acme auth login",
        comment: "# enter your email for a magic link",
        prompt: "",
        inputPlaceholder: "you@example.com",
        submit: "Send login link",
        footerHint: "Press ↵ to continue · ⌃C to cancel",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
labelsLabels{}All text strings for the card; every field is optional and its element is skipped when the value is falsy
classNamestringExtra classes merged onto the outer <section>
ts
type Labels = {
  windowTitle?: string;
  command?: string;
  comment?: string;
  prompt?: string;
  inputPlaceholder?: string;
  submit?: string;
  footerHint?: string;
};

Behavior notes

  • Every visible piece of text is conditional: windowTitle, command, comment, prompt, submit, and footerHint each render only when their label is truthy, so passing an empty labels object (the default) yields just the window chrome, the input, and nothing else.
  • The <form>'s onSubmit calls e.preventDefault() and nothing else; there is no onSubmit prop, no state, and no callback, so capturing the entered email and sending a link is entirely left to the integrator.
  • The email input is uncontrolled: it has no value, no onChange, and no lifted state, so its contents are never exposed to the parent.
  • inputPlaceholder does double duty as both the input's placeholder and the text of its sr-only <label>, so screen readers announce the placeholder string as the field name.
  • The three title-bar dots are decorative <span> elements (bg-muted-foreground/30), not interactive window controls.
  • The outer section is min-h-screen and centers its content, so the block expects to own the full viewport height rather than sit inline in a larger page.
  • Field ids are derived from React's useId, keeping the <label htmlFor>/<input id> pairing stable and unique across multiple instances on one page.

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

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.

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

auth34

Email-First Sign In

Full-height progressive sign-in that asks for the email first, then reveals the password step with the chosen email shown and editable. Perfect for modern email-first and adaptive authentication flows.

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

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.

PRO

auth49

Split Sign In With Quote

A hairline sign-in panel with a lowercase wordmark, email and password fields, an inline forgot link, a remember toggle, and an SSO fallback, set beside a full-height photo carrying a gradient customer quote.