Inviting a team membersimilar to
Upwork
The invite pattern for a hiring account where colleagues share a budget, so access is decided by a predefined role and a team. One page takes the team, any number of addresses and one role card; under the cards it spells out what the role adds to the smaller role it builds on. A confirmation modal lists who was invited with which role, and the invitations wait in a pending list, where they can be resent, shared as a link or revoked until the person accepts.
Every screen
The 5 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
Invite colleagues to a client account from its members settings: pick a team, add several emails as chips, choose one role from permission cards, confirm in a modal and follow up on pending invites.
Roles as cards, permissions in words
Six roles sit in a grid of cards with one line each, so they can be compared at a glance. The summary underneath says which role the choice builds on ("Includes everything in Messenger, and also") and lists what it adds, so the admin never has to guess what a role name means.
Many addresses, one field
Enter, comma, space, blur or paste turn text into chips; a pasted list splits in one go. Malformed addresses stay as red chips so the user sees which one to fix; duplicates, current teammates and people with a pending invite are refused with a one-line reason.
Scope before people
The team comes first and is required: everyone on the invite joins the same team with the same role. Mixed invitations are a second pass, which keeps the form short and the permissions summary true for everyone on it.
Pending is a place, not a promise
After the confirmation the user lands on Invitations, where the new rows are highlighted next to older ones under a live count, and a row menu resends (the date updates), copies the invite link or revokes the invite.
Step by step
- 01
Members
The members settings, where the "Invite members" button starts the invite. The members list around it is a wireframe sketch where your own app goes.
Inviting starts where people are managed, so the button sits next to the list of who already has access.
- 02
Choose the team and add emails
Pick the team the new teammates join, then type or paste their addresses as chips.
Everyone on one invite gets the same team and role, so the scope comes first and the addresses follow.
- 03
Assign a role
Choose one of six role cards and read what it allows in the summary under the grid.
Role names mean different things in different companies; spelling out the permissions next to the choice prevents giving too much or too little access.
- 04
Invites sent
A modal confirms how many invites went out and lists each address with its role and team.
An explicit confirmation with the recipients lets the admin catch a wrong address or role before anyone acts on the email.
- 05
Pending invites
The pending invites list the new invites, highlighted, next to older ones, with a menu to resend, copy the link or revoke.
Seeing the pending rows confirms the invites went out and gives the admin one place to follow up when someone never accepts.
Built with shadcn/ui and Radix UI
- Button
- Badge
- Field
- Select
- Radio Group
- Input Group
- Dropdown Menu
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Upwork is a trademark of its owner; this page is not affiliated with or endorsed by Upwork.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-upwork-inviting-a-team-member. The shadcn CLI copies the flow into components/flows/upwork-inviting-a-team-member/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-upwork-inviting-a-team-member) and React Aria (@shadcnpro/aria/flow-upwork-inviting-a-team-member) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Upwork's inviting teammates & friends flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Upwork is a trademark of its owner, and this page is not affiliated with or endorsed by Upwork.
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/upwork-inviting-a-team-member.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 addresses of existing members and the invitations are local lists, Send invite waits a moment and adds pending rows, and resend, copy link and revoke only update the list and show a toast. In a real app, post the team, addresses and role to your invitations endpoint, email each person a signed link, and load members and pending invites from your API.
Button, Badge, Field, Select, Radio Group, Input Group, Dropdown Menu, 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 small breakpoint the sketched rail becomes a top bar; the role cards drop to two columns and then one, and the pending invites table scrolls sideways inside its container. The confirmation modal keeps its layout with smaller padding.