Skip to main content
FlowsInviting Teammates & FriendsInviting a user similar to incident.io
shadcn/ui Flows

Inviting a usersimilar toincident.io

The invite pattern for tools billed per seat, where most people only need to look and a few need to act. One compact dialog takes several people at once (picked from the connected chat directory or typed as addresses), a base role, and the paid seats each person gets, with viewer access as the free default. The seat counters include the people being invited, so the admin knows what the invitation costs before sending, and a seat the plan can no longer cover can’t be handed out. The invitees land in the users table straight away, marked as invited, with their seats already reserved. The settings around it (sidebar, page header, toolbar and the users already there) are a wireframe sketch where your own app goes.

Install flow

Step 1 of 4Users

Every screen

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

01UsersThe Users settings page, a wireframe sketch where your own app goes, with the "Invite user" button in its header.
02Choose who to invitePick colleagues from Slack or type and paste addresses; each person becomes a chip. Choose their base role.
03Give them seatsTick Responder, On-call, both or neither. Counters include this invitation, and the footer says how many paid seats it uses.
04Users invitedThe invitees appear in the users table marked "Invited", with the seats and role they will get, and a toast confirms.

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 from the Users settings page: pick colleagues from Slack or paste addresses, choose a base role and the paid seats they get, and watch them join the table as invited.

Directory first, email as a fallback

Typing a name suggests colleagues from the connected Slack workspace with their photo and job title; typing or pasting an address works for everyone else. Each person becomes a chip with its own remove button, and a clear button empties the field.

Wrong addresses never reach the server

A malformed address stays in the field as a red chip so the user sees which one to fix. Duplicates, people already in the workspace and people with a pending invitation are refused with a one-line reason under the field.

Seats are a choice, viewer is free

Responder and On-call are separate checkboxes with what each allows and how many of the plan’s seats are taken, counting the people in this invitation ("6 of 6 used, +2 from this invite"). A seat with too few left for everyone is disabled with "Only 2 left", and one that goes over after more people are added blocks Invite with a note pointing to Billing. Leaving both unticked invites people as viewers, and the footer says in words what will be used before Invite is pressed.

Invited people are real rows

The new rows appear in the users table at once with an "Invited" badge, the seats and role they will get, and a menu to resend, copy the invite link or revoke. The count under the table includes them.

Step by step

  1. 01

    Users

    The Users settings page, a wireframe sketch where your own app goes, with the "Invite user" button in its header.

    Inviting starts where access is managed, so the new people show up in the same table a moment later. The existing users are sketched rows: they are your app’s data, not part of the pattern.

  2. 02

    Choose who to invite

    Pick colleagues from Slack or type and paste addresses; each person becomes a chip. Choose their base role.

    Most invitees are already in the company chat, so picking them by name avoids typos; pasted lists cover everyone else in one go.

  3. 03

    Give them seats

    Tick Responder, On-call, both or neither. Counters include this invitation, and the footer says how many paid seats it uses.

    Seats cost money and most people only need to read. Making the paid part an explicit, counted choice, and refusing seats the plan can’t cover, avoids surprise bills and over-provisioning.

  4. 04

    Users invited

    The invitees appear in the users table marked "Invited", with the seats and role they will get, and a toast confirms.

    Seeing the rows confirms the invitations went out, shows the seats are reserved and gives the admin a place to follow up.

Built with shadcn/ui and Radix UI

  • Button
  • Checkbox
  • Field
  • Label
  • Select
  • Dropdown Menu
  • Avatar
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.