Skip to main content
FlowsInviting Teammates & FriendsInviting a user similar to Mercury
shadcn/ui Flows

Inviting a usersimilar toMercury

Inviting someone to a bank account is a permissions decision before it is an email. This wizard asks for the person, then the role, then the money they can spend, and only then shows a review that spells out what the role can and can’t do. The invite is sent from the review, and the person appears on the Users page straight away as Invited, with resend, copy link and revoke one menu away. The settings pages around it, including the people who already have access, are a wireframe sketch where your own app goes.

Install flow

Step 1 of 7Users

Every screen

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

01UsersThe team settings page with the Invite user button; the people who already have access are a sketched list.
02Invite detailsEnter the person’s legal name and email, and optionally their job title and department.
03Assign roleChoose Admin, Custom, Bookkeeper or Employee.
04Issue cardOptionally give them a debit card with a nickname, type, source account, spend control and limit.
05Review and sendCheck the person, the role and its permissions, and the card, then send the invite.
06Invite sentThe invite is on its way and a toast confirms it; invite the next person or finish.
07Pending inviteThe new person is on the Users page as Invited, with resend, copy link and 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

A business bank’s invite wizard: who the person is, the role that decides what they can see and move, an optional card with spending limits, a review with the exact permissions, then a pending row with resend and revoke.

The email is checked against everyone who already has access

A malformed address, a teammate who is already a member and an address with a pending invite each get their own message under the field. The last one points to Resend on the Users page instead of creating a second invite for the same person.

Roles are described by what they allow, not by their name

Each role is a card with one sentence of access. Custom opens a short list of permissions inside its own card, and the review lists what the chosen role can and can’t do under View permissions, so the sender confirms the access, not a label.

The role shapes the rest of the wizard

Bookkeepers can’t hold cards, so choosing Bookkeeper skips the card step, strikes it out in the stepper and says why on the review. Every other role gets an optional card step with a visible “Skip card for now”.

Sending creates a pending member, not just an email

The confirmation offers to keep inviting. Done inviting lands on Users, where the new row carries an Invited badge, the date it was sent and a menu to resend, copy the link or revoke, with Undo in the toast for a revoke made by mistake.

Step by step

  1. 01

    Users

    The team settings page with the Invite user button; the people who already have access are a sketched list.

    The invite starts where the team is managed, next to the list of people who already have access. That list is a wireframe sketch where your own members table goes.

  2. 02

    Invite details

    Enter the person’s legal name and email, and optionally their job title and department.

    A bank needs the legal name for the cardholder and records. The email is checked before moving on, so a typo or a duplicate never reaches the review.

  3. 03

    Assign role

    Choose Admin, Custom, Bookkeeper or Employee.

    The role is the decision that matters most, so it gets a whole screen of cards that describe access in plain words. Custom reveals its permissions in place.

  4. 04

    Issue cardOptional

    Optionally give them a debit card with a nickname, type, source account, spend control and limit.

    Handing over a card is part of inviting an employee, so it happens in the same wizard, but it is optional and skippable in one click.

  5. 05

    Review and send

    Check the person, the role and its permissions, and the card, then send the invite.

    Everything that will be granted is on one screen, with Edit and Change role links back to each step and the exact email the invite goes to.

  6. 06

    Invite sent

    The invite is on its way and a toast confirms it; invite the next person or finish.

    The moment after a successful invite is the best time to ask for the next one, so the primary action starts a fresh invite.

  7. 07

    Pending invite

    The new person is on the Users page as Invited, with resend, copy link and revoke.

    An invite that hasn’t been accepted is still access in waiting, so it is listed with the members and stays manageable until it is accepted or revoked.

Built with shadcn/ui and Radix UI

  • Button
  • Input
  • Input Group
  • Field
  • Select
  • Radio Group
  • Checkbox
  • Collapsible
  • Separator
  • Avatar
  • Badge
  • Table
  • Dropdown Menu
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.