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.
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.
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.
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
npx shadcn add "https://ui.beste.co/r/auth29?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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",
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
labels | Labels | {} | All text strings for the card; every field is optional and its element is skipped when the value is falsy |
className | string | – | Extra classes merged onto the outer <section> |
type Labels = {
windowTitle?: string;
command?: string;
comment?: string;
prompt?: string;
inputPlaceholder?: string;
submit?: string;
footerHint?: string;
};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.<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.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.<span> elements (bg-muted-foreground/30), not interactive window controls.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.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.
auth6
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.
auth34
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.
auth21
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.
auth17
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.
auth8
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.
auth27
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.