Full-height invitation acceptance screen showing the inviter's avatar and team name, a pre-filled disabled email, and name and password fields to set up the account. Perfect for team onboarding and invite-link flows.
Full-height invitation-acceptance screen: the inviter's avatar and a bolded team/inviter description sit above a disabled, pre-filled email field plus name and password inputs for setting up the account. A decline link sits below the card.
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/auth16?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/auth16?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/auth16.tsx and the button, input, field, and avatar shadcn/ui primitives it's built on.
The installed file exports auth16Demo alongside the block: the exact props behind the preview above. Spread it to get a working invitation screen in one line.
import { Auth16, auth16Demo } from "@/components/beste/block/auth16";
export default function InvitePage() {
return <Auth16 {...auth16Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Auth16 } from "@/components/beste/block/auth16";
export default function InvitePage() {
return (
<Auth16
invite={{
teamName: "Northwind",
inviterName: "Maria Santos",
email: "newhire@northwind.com",
avatar: { src: "https://example.com/maria.jpg", alt: "Maria Santos" },
}}
heading="Join the team"
description="<strong>Maria Santos</strong> invited you to collaborate on <strong>Northwind</strong>."
labels={{
emailField: "Email",
name: "Full name",
namePlaceholder: "Jane Cooper",
password: "Password",
passwordPlaceholder: "Create a password",
submit: "Accept invitation",
}}
declinePrompt={{ text: "Not interested?", linkLabel: "Decline invitation", href: "/decline" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
invite | Auth16Invite | – | Team, inviter, and email details shown at the top and in the disabled email field |
heading | string | – | Screen title |
description | string | – | HTML message rendered below the heading, see behavior notes |
labels | Auth16Labels | {} | Field/button copy, see below |
declinePrompt | { text: string; linkLabel: string; href: string } | – | Line below the card, hidden entirely when not set |
className | string | – | Extra classes for the outer <section> |
type Auth16Invite = {
teamName: string;
inviterName: string;
email: string;
avatar?: { src: string; alt: string };
};
type Auth16Labels = {
emailField?: string;
name?: string;
namePlaceholder?: string;
password?: string;
passwordPlaceholder?: string;
submit?: string;
passwordToggle?: string;
};description is injected via dangerouslySetInnerHTML with a [&>strong]:font-semibold [&>strong]:text-foreground selector, so callers bold the inviter and team names inline (the demo wraps both in <strong>) instead of the component exposing separate name-highlighting props.invite.email via defaultValue and rendered disabled, so it's shown for confirmation only and can't be edited; it renders at all only when both invite.email and labels.emailField are set.useState pattern as the other auth blocks, and the <form> only calls e.preventDefault() on submit with no wired acceptance handler.AvatarFallback initials are derived from invite.inviterName, not the invitee's own name, since the invitee hasn't set one yet.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.
auth24
Full-height profile setup step with an avatar uploader, a display name field, and a bio textarea, plus a skip option. Perfect for the post-sign-up onboarding step where users personalize their account.
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.
auth5
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.
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.
auth43
Full-height waitlist capture with an email field, a join button, a social-proof line, and a sign-in link for existing users. Perfect for pre-launch and early-access landing gates.
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.