Inviting a team membersimilar to
Miro
The invite pattern for collaborative canvases, where the work is more fun with other people on it. A compact card over the board offers three ways in at once: pick colleagues from a directory, share a link in team chat, or type addresses. Every address becomes a chip that is checked on the spot, one role applies to the whole batch, and after sending the user lands back on the board. The invitees are already visible as a dashed bubble next to the team avatars, and the team panel lists them as pending with resend and revoke, so the person who invited them can follow up without hunting for a settings page. The whiteboard around it is a wireframe sketch where your own app goes.
Every screen
The 3 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 teammates from a card over the whiteboard: import from Slack, Google or Microsoft, copy a join link, or type several addresses as chips with a role, then see them pending in the team panel.
Three ways to invite on one card
Directory import, a copyable join link and an email field sit together, because different teams share differently. The link suits a team chat, the directory suits a company account, and the field covers everyone else.
Addresses become chips as you type
Enter, comma, semicolon, space, blur or a pasted list commit addresses. A malformed one stays as a red chip so the user sees exactly what to fix. Your own address, existing members, duplicates and people already invited are refused with a one-line reason.
One role for the batch, said in words
A compact Member/Admin select sits inside the field, and the line under it reads "3 people will join Lumen Design as members", so nobody sends admin rights by accident.
Pending invitations stay in sight
Back on the board, a dashed "+3" next to the team in the top bar shows invitations that have not been accepted. The team panel lists them with Resend and Revoke, and the member and seat counts update straight away.
Step by step
- 01
Invite teammates
Import colleagues from a directory, copy the join link, or type several addresses and choose their role, then send.
The board is more useful with the team on it, so the invite comes right after the first board, with every way of inviting on one card and a clear way to skip.
- 02
Back on the board
Back on the board, a toast confirms the invitations and they show as a dashed bubble next to the team in the top bar.
Inviting is a detour from the real job, so it returns the user to their board, and the pending bubble confirms the invitations went out. The board and its first-run prompt are a wireframe sketch where your own app goes.
- 03
Team members
The team panel lists the pending invitations, each with Resend and Revoke, under the team’s members.
Invitations get lost in inboxes. Keeping them in a panel one click from the board lets the inviter nudge or withdraw them, and see the seat count they use.
Built with shadcn/ui and Radix UI
- Button
- Input
- Field
- Select
- Avatar
- Badge
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Miro is a trademark of its owner; this page is not affiliated with or endorsed by Miro.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-miro-inviting-a-team-member. The shadcn CLI copies the flow into components/flows/miro-inviting-a-team-member/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-miro-inviting-a-team-member) and React Aria (@shadcnpro/aria/flow-miro-inviting-a-team-member) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Miro's inviting teammates & friends flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Miro is a trademark of its owner, and this page is not affiliated with or endorsed by Miro.
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/miro-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 members and invitations are local state, Send invitations waits a moment before adding pending rows, and the Slack, Google and Microsoft links add a fixed set of colleagues instead of opening a picker. Resend, revoke and copy only update the list and show a toast. In a real app, post the addresses and role to your invitations endpoint, email each person a signed join link, and load members and pending invitations from your API.
Button, Input, Field, Select, Avatar, Badge 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 tools column is hidden, and below the medium breakpoint most of the sketched top bar is too, leaving the team button with its pending bubble. The invite card and the team panel shrink to the screen width with a 16px margin.