Skip to main content
FlowsInviting Teammates & FriendsInviting a team member similar to Stripe
shadcn/ui Flows

Inviting a team membersimilar toStripe

The invite pattern for products where access is decided by role, not by seat. One dialog takes any number of addresses and a set of roles at once, explains in plain words what the chosen roles let people do, and sends. The invitations land in the members table straight away as pending rows, so the person who sent them can see who still has to accept and can resend or take back an invitation without leaving the page.

Install flow

Step 1 of 4Team members

Every screen

The 4 steps in order. Pick one to open it in the preview above.

01Team membersThe members table, with the "New member" button above it. The dashboard and the people already on the team are a wireframe sketch where your own app goes.
02Enter email addressesType or paste one or more addresses; each becomes a chip that can be removed.
03Choose rolesTick one or more roles from the grouped, searchable list and read what each one allows.
04Invitations sentThe invitees appear in the table as pending, with their roles and a menu to resend, copy the link or revoke.

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 people to a dashboard from the team page: several addresses as chips, roles picked from a grouped checklist with live descriptions, and pending rows you can resend or revoke.

Many addresses, one field

Typing, a comma, a space or Enter turns an address into a chip; pasting a list from a spreadsheet or an email splits it in one go. Backspace on an empty field removes the last chip, and each chip has its own remove button.

Mistakes are caught where they are made

A malformed address stays in the field as a red chip so the user sees exactly which one to fix. Duplicates, people already on the team and people with a pending invitation are not added at all, with a one-line reason under the field.

Roles explain themselves

Roles are grouped (admin, developer, payments, support…) and searchable, and every ticked role appears on the right with a sentence about what it allows. A note says the permissions add up, so nobody wonders which role wins.

Pending is a state, not a promise

Sent invitations show up in the members table with an "Invitation sent" badge, the roles they will get and who sent them. The count under the table includes them, and a row menu resends, copies the invite link or revokes.

Step by step

  1. 01

    Team members

    The members table, with the "New member" button above it. The dashboard and the people already on the team are a wireframe sketch where your own app goes.

    Inviting starts where people are managed, so the result shows up in the same table a moment later.

  2. 02

    Enter email addresses

    Type or paste one or more addresses; each becomes a chip that can be removed.

    Inviting several people with the same access is the common case, so the field takes a list instead of one address at a time.

  3. 03

    Choose roles

    Tick one or more roles from the grouped, searchable list and read what each one allows.

    Role names like "Analyst" mean different things in different companies. Showing the description next to the choice prevents giving too much or too little access.

  4. 04

    Invitations sent

    The invitees appear in the table as pending, with their roles and a menu to resend, copy the link or revoke.

    Seeing the pending rows confirms the invitations went out and gives the admin a place to follow up if someone never accepts.

Built with shadcn/ui and Radix UI

  • Button
  • Checkbox
  • Field
  • Label
  • Input Group
  • Dropdown Menu
  • Kbd
  • Sonner

This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Stripe is a trademark of its owner; this page is not affiliated with or endorsed by Stripe.

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.