Approving a requestsimilar to
Miro
The admin side of joining: someone opened a board a teammate shared and asked to join the team, and an admin decides. The request sits in an Access requests table with its expiry date. Opening it shows everything needed to say yes with confidence: the person, whether their address is on the team’s domain, the board they asked from and who shared it, their note, and what approving does to the paid seats. One role select applies on approval. Afterwards the table turns into an empty state, the decision moves to a "Recently reviewed" log, the seat count goes up, and the new member is listed under All users with a New badge, so the admin can check the result without hunting for it.
Every screen
The 4 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
Review a request to join the team from the admin console: see who is asking and from which board, pick their role, approve or deny, and find them in the user list with a New badge.
Recognise the requester before deciding
The review dialog leads with identity and context: name, email, a "Uses your team’s domain" check, the board they asked from, who shared it with them and their own message. That is what turns a stranger’s request into an easy yes or no.
The role is chosen at approval time
Member, Admin or Guest sits in the dialog with a one-line description that changes with the choice. Guests only get the board they asked for, so a cautious admin can let someone in without opening the whole team.
Seat cost said before the click
A note under the buttons says how many paid seats are free and that approving uses one with no change to the bill, or that guests don’t take a seat. The header count moves from 3/10 to 4/10 once approved.
Decisions leave a trail
Approved and denied requests move to "Recently reviewed" with the role, who decided and when. The newest row links to the user list, where the person appears with a New badge. Denying from the row shows a toast with Undo.
Step by step
- 01
Access requests
The admin console lists the pending request to join the team, with the board it came from, the date and when it expires.
Requests need one place an admin can find from the menu or a notification. A row with approve and deny buttons handles the easy cases, and the row itself opens the details for the rest.
- 02
Review the request
See who is asking, from which board and why, choose their role, and approve or deny.
Approving gives someone access to every team board and costs a seat, so the dialog puts identity, context, the role and the cost on one card before the click.
- 03
Request approved
A toast confirms the person was added, the table becomes an empty state, the seat count goes up and the decision is logged under Recently reviewed.
An empty queue tells the admin they are done; the log row with the role proves what happened and leads to the new member.
- 04
All users
The new member appears in the user list with their role, a seat, their team and a New badge.
Seeing the person in the real list, with the right role, closes the loop and is where the admin would change anything later. The rest of the page is a wireframe sketch where your own user list goes.
Built with shadcn/ui and Radix UI
- Button
- Select
- Field
- 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-approving-a-request. The shadcn CLI copies the flow into components/flows/miro-approving-a-request/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-miro-approving-a-request) and React Aria (@shadcnpro/aria/flow-miro-approving-a-request) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Miro's joining & accepting 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-approving-a-request.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 saved: the request, the people and the review log are local state. Approve waits a moment before adding the person to the user list and showing a toast; Deny and its Undo only change that state, and no email goes out. In a real app, load pending requests from your API, post the decision with the chosen role, email the requester, and refresh the member list and seat count from the response.
Button, Select, Field, 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 medium breakpoint the sketched sidebar is hidden (give your own app a menu that opens it in a Sheet) and the tables drop their Team, Asked from, Date, Seat, Teams and Last active columns, keeping the name, the role and the actions. The review dialog fits the screen width with a 16px margin, stacks its two columns and puts Approve under Deny at full width.