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

Inviting a usersimilar toMelio

In a payments product an invite is really a decision about money: who can pay bills, and how much they can pay before someone checks. This panel keeps that decision on one screen next to the people who already have access. The name and email come first, the role list says what each role can do, and choosing a role that can pay reveals an approval switch with a dollar threshold. Sending closes the panel, confirms it in a banner, and adds the person to the list as Pending with their role and limit.

Install flow

Step 1 of 5Users and roles

Every screen

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

01Users and rolesThe Users and roles page, where the Add user button starts the invite. The current members are a wireframe sketch where your own team list goes.
02User detailsEnter the person’s first and last name and their email address.
03Choose a rolePick Admin, Accountant, Contributor, Approver or Viewer from a list that describes each one.
04Payment approvalFor roles that can pay, choose whether their payments over an amount need an admin’s approval, then send the invite.
05Invitation sentA banner confirms the invitation and the person is listed as Pending with their role, limit and the date it was sent.

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 bill-pay app’s Add user panel over Users and roles: legal name and email, a role list that explains each role, an optional admin-approval limit for roles that pay, then a pending row with resend and cancel.

The email is checked against the people who already have access

A malformed address, your own email, a current member’s email and an address with a pending invitation each get their own message under the field, so the same person can’t be invited twice or end up with two accounts.

Roles are picked from a list that describes them

Each option has one line of what the role allows, new roles carry a New badge, and the list ends with a link to compare roles. The chosen role’s description stays under the field, so the sender sees the access they are granting.

The role decides whether an approval limit applies

Admins, accountants and contributors can schedule payments, so choosing one reveals Payment approval: a switch and an amount that is disabled until the switch is on. Approvers and viewers can’t pay, and the section says so instead of showing a setting that does nothing.

The invitation becomes a pending member

After sending, a banner names the person, the count above the list gains a pending invitation, and the new row shows Pending, the role, the approval limit and the date, with a menu to resend, copy the link or cancel (with Undo in the toast).

Step by step

  1. 01

    Users and roles

    The Users and roles page, where the Add user button starts the invite. The current members are a wireframe sketch where your own team list goes.

    The invite starts where access is managed, next to the people who already have it, so the new person lands in the same list once invited.

  2. 02

    User details

    Enter the person’s first and last name and their email address.

    A payments product records who scheduled and approved each payment, so it asks for the legal name up front. The email is the address the invitation goes to and is checked when the invite is sent.

  3. 03

    Choose a role

    Pick Admin, Accountant, Contributor, Approver or Viewer from a list that describes each one.

    The role is the decision that matters most, so every option says what it allows, and the list links to a comparison for anyone unsure.

  4. 04

    Payment approval

    For roles that can pay, choose whether their payments over an amount need an admin’s approval, then send the invite.

    A threshold per person is the simplest control over spending. It sits right under the role it applies to and only appears for roles that can schedule payments.

  5. 05

    Invitation sent

    A banner confirms the invitation and the person is listed as Pending with their role, limit and the date it was sent.

    An invitation 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 cancelled.

Built with shadcn/ui and Radix UI

  • Button
  • Input
  • Input Group
  • Field
  • Dropdown Menu
  • Switch
  • Separator
  • Avatar
  • Badge
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.