Accepting an invitesimilar to
Retool
The invitee’s side of an organization invite in an internal-tools builder. The invite email names the inviter, the organization, the role and the permission groups. The link opens a sign-up page that already knows the address, so the user only adds a name and a password, or continues with Google. Creating the account is accepting the invite: there is no separate join screen, and the user lands on the organization’s apps with a welcome that repeats who added them and with which access.
Every screen
The 3 steps in order. Pick one to open it in the preview above.
Installation
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Part of shadcn/ui Pro
Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.
Why this flow works
An invitee goes from the invite email to the organization’s apps: open the invite, create an account for the invited address (or log in, or use Google) and land on the apps list with a first-run welcome.
The invite fixes the email address
The sign-up form has no email field. The address comes from the invite token and is shown in the subtitle, so the account is always created for the address the admin invited and the invite can be accepted on the server without a second lookup.
Signing up is joining
Because the invite already names the organization, role and groups, account creation and membership happen in one request. The user never sees an empty "create your organization" screen, which is where invited users most often end up in a second, accidental workspace.
Existing accounts log in instead
"Log in instead" swaps the form in place: the invited email becomes a read-only field and only the password is asked for. Google works on both forms, and the subtitle tells the user which account the invite belongs to before they pick one.
The landing repeats the access
A toast confirms the join, and the welcome line says who added the user, as what, and to which groups. The organization’s name and the user’s initials sit in the header. The product around them is a wireframe sketch where your own app goes.
Step by step
- 01
Invite email
The invite in the inbox: who invited you, to which organization, as what, and the Accept invite button.
The email is where the user decides to trust the invite, so it names the inviter, the organization and the access before asking for anything.
- 02
Create your account
First name, last name and a password for the invited address, or Google; existing users switch to Log in.
The address is already known from the invite, so the form is three fields. Creating the account accepts the invite.
- 03
Apps
The landing: a welcome by first name and who added you, as what and to which groups, over a sketch of the organization’s apps.
The user lands inside the organization they were invited to with a reminder of the access they were given. The apps page itself is a wireframe sketch where your own app goes.
Built with shadcn/ui and Radix UI
- Button
- Input
- Field
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Retool is a trademark of its owner; this page is not affiliated with or endorsed by Retool.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-retool-accepting-an-invite. The shadcn CLI copies the flow into components/flows/retool-accepting-an-invite/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-retool-accepting-an-invite) and React Aria (@shadcnpro/aria/flow-retool-accepting-an-invite) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Retool's joining & accepting flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Retool is a trademark of its owner, and this page is not affiliated with or endorsed by Retool.
Yes, the flow is a pattern, not a fixed template. A step you add should follow the same rules as the others, listed under Step anatomy in the flow spec, so it reads as part of the same flow.
Use the prompt in the Installation section. The agent installs the flow, then reads the flow spec at https://pro.shadcn.co/flows/retool-accepting-an-invite.md, which describes the layout, the rules every step follows, each step's fields and actions, and how to adapt the flow. That way it builds a version with your brand and your steps instead of a one-to-one copy.
Nothing is sent: the invite is a constant in `content.ts`, "Accept invite" in the email stands in for the link, any name and any password of 8 or more characters create the account, any password logs in, and Google signs in as the invited address. In a real app, resolve the invite from its token, create the user and the membership on the server with the invite’s role and groups, and redirect to the organization’s apps.
Button, Input, Field, Avatar and Sonner, in their Radix UI versions. Everything else is plain markup with Tailwind CSS.
Yes. The flow only uses semantic tokens such as bg-background, bg-card and text-muted-foreground, so it picks up your colours, radius and fonts and switches with dark mode. Use the theme menu above the preview to see it in the Pro themes.
Yes. The mail client drops its folder and message lists below the large breakpoint and shows only the open email. The sign-up column fits a phone, with the name fields stacked. On the landing, the organization name moves out of the header and the welcome line wraps; the sketched app behind it stacks.