Account Type Selection

How will you use Beste?

Pick the option that fits you best. You can change this later.

Wrong account? Sign out

About this block

Account Type SelectionPRO

Full-height onboarding step where the user picks an account type from selectable radio cards with icons and descriptions, then continues. Perfect for tailoring sign-up flows by persona or plan.

Auth11: Account Type Selection

Full-height onboarding step where the user picks an account type from a stack of selectable radio cards, each with an icon, title, and description, then continues with a single submit button. A back/sign-out prompt sits below the card.

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

Base UI flavor

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

This installs the block to components/beste/block/auth11.tsx and the button, radio-group, and field shadcn/ui primitives it's built on.

Quick start

The installed file exports auth11Demo alongside the block: the exact props behind the preview above. Spread it to get a working account-type step in one line.

tsx
import { Auth11, auth11Demo } from "@/components/beste/block/auth11";

export default function AccountTypePage() {
  return <Auth11 {...auth11Demo} />;
}

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

tsx
import { Building2, User } from "lucide-react";
import { Auth11 } from "@/components/beste/block/auth11";

export default function AccountTypePage() {
  return (
    <Auth11
      heading="How will you use Beste?"
      description="Pick the option that fits you best."
      options={[
        { value: "personal", title: "Personal", description: "For solo projects.", icon: <User className="size-5" /> },
        { value: "enterprise", title: "Enterprise", description: "For large organizations.", icon: <Building2 className="size-5" /> },
      ]}
      labels={{ submit: "Continue" }}
      backPrompt={{ text: "Wrong account?", linkLabel: "Sign out", href: "/sign-out" }}
    />
  );
}

Props

PropTypeDefaultDescription
headingstring–Screen title
descriptionstring–Subtext below the heading
optionsAccountTypeOption[][]Selectable radio cards
labels{ submit?: string }{}Submit button copy
backPrompt{ text: string; linkLabel: string; href: string }–Line below the card, hidden entirely when not set
classNamestring–Extra classes for the outer <section>
ts
type AccountTypeOption = {
  value: string;
  title: string;
  description: string;
  icon: React.ReactNode;
};

Behavior notes

  • The selected value initializes from options[0]?.value, so whichever option is first in the array is pre-selected on mount, not left blank.
  • Each option is a full clickable <label> wrapping the icon, title, description, and the actual RadioGroupItem, so clicking anywhere on the card (not just the small radio circle) selects it.
  • The active card gets border-primary bg-primary/5; inactive cards only change on hover (hover:border-primary/40 hover:bg-muted/40).
  • The <form> only calls e.preventDefault() on submit, and the selected state is never passed to any callback prop, so the chosen account type currently has no way to reach the integrator's own submit handler without further wiring.
  • The submit button renders only when labels.submit is set.

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

auth7

Account Chooser

PRO

auth26

Choose Your Plan

PRO

auth25

Claim Your Username

Get Pro access