Accepting an invitationsimilar to
Deel
The invitee’s side of a contractor invitation in a global HR and payroll product. The landing page says which client invited you and shows the contract they prepared (role, rate, start date). Sign-up locks the email to the invited address, a single choice decides whether invoices carry a company or a personal name, and the address is confirmed by email before the profile asks for the compliance details a payroll needs: citizenship, tax residence, legal status, date of birth, ID and phone. After an optional authenticator prompt the contractor lands on a home screen whose first card is the contract to sign.
Every screen
The 8 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
A contractor invited by a client creates an account on a global payroll platform: sign up with the invited address, pick how they work, confirm the email, give personal and address details, secure the account and land on a home screen with the contract waiting.
The invitation is the contract preview
Instead of a bare "You’ve been invited", the landing page names the client and the inviter and shows the role, rate and start date. The contractor knows what they are signing up for before typing anything, and the same contract is the first thing on the home screen.
The invited address is fixed
The email field on the sign-up form is read-only and filled from the invitation, so the account is created for the address the client invited and the server can attach the pending contract without any matching step. A second, personal address belongs in the backup email field later.
One choice shapes the paperwork
"Company or individual" is asked once, as two cards, and pre-fills the legal status in the profile. It decides whose name, address and tax ID appear on invoices, which is what a contractor actually cares about.
Compliance details in one dense form
Citizenship, tax residence, legal status, date of birth, ID number and phone sit in a two-column form with labels inside the fields. Tax residence pre-selects the phone country code, the address step shows the same country read-only, and an 18+ check runs on the date of birth.
Step by step
- 01
Invitation
Who invited you, for which client, and the contract they prepared: role, rate and start date.
Showing the offer and the inviter makes the email trustworthy and gives the contractor a reason to create an account.
- 02
Sign up as a contractor
Name, optional preferred name, the invited email (locked) and a password.
The account is created for exactly the invited address, so the pending contract attaches to it without a matching step.
- 03
Contractor type
Work through a company, or as an individual.
It decides whose details go on invoices and pre-fills the legal status in the profile.
- 04
Confirm your email
A confirmation link went to the invited address; open the inbox or ask for a new email.
Confirming the address before collecting identity details proves the contractor owns the inbox the client invited.
- 05
Personal details
Citizenship, tax residence, legal status, tax ID, date of birth, ID number, phone and a backup email.
Payroll and tax compliance need these before the first payment; asking once, densely, keeps the setup to three screens.
- 06
Address
Street, city and postcode, with the country carried over from tax residence.
The address appears on invoices and tax forms; showing the country read-only avoids a mismatch with tax residence.
- 07
Secure your account
A recommended authenticator app, or finish sign-up and set it up later.
Payout details are worth stealing; the prompt comes when the contractor is already in setup mode, but never blocks them.
- 08
Home
The app (a wireframe sketch where your own app goes) with a greeting, the contract to sign, a note from the inviter, the tasks setup left open and the onboarding progress.
The contractor lands on the reason they were invited: the contract from the same client, with what is left to get paid listed next to it.
Built with shadcn/ui and Radix UI
- Button
- Input
- Field
- Select
- Radio Group
- Checkbox
- Badge
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Deel is a trademark of its owner; this page is not affiliated with or endorsed by Deel.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-deel-accepting-an-invitation. The shadcn CLI copies the flow into components/flows/deel-accepting-an-invitation/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-deel-accepting-an-invitation) and React Aria (@shadcnpro/aria/flow-deel-accepting-an-invitation) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Deel's joining & accepting flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Deel is a trademark of its owner, and this page is not affiliated with or endorsed by Deel.
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/deel-accepting-an-invitation.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 invitation is a constant in `content.ts`, any well-formed details are accepted, "Open Gmail" acts as if the confirmation link was clicked, and both security buttons just finish sign-up. In a real app, resolve the invitation from its token, create the user for the invited address, send the confirmation email from your auth provider, store the profile on your server, run TOTP enrolment for the authenticator, and attach the client’s pending contract to the new account.
Button, Input, Field, Select, Radio Group, Checkbox, Badge, 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. Below the large breakpoint the sketched brand panel is hidden and the logo moves into the header, the stepper shows only its circles, field pairs stack into one column and the contract card drops under the welcome copy. On the home screen the sketched sidebar is replaced by a top bar with the logo and the contractor’s initials, and the cards stack.