Sharing a listsimilar to
Attio
A share panel for one object inside a workspace, here a sales pipeline. It answers two questions in order: what does everyone in the workspace get, and who gets more (or, on a private list, who gets in at all). People, teams and outside email addresses go into one search field as chips, share a single access level, and land in the access list the moment you press Invite, with members active at once and outside invitations marked as pending.
Every screen
The 5 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
Share a CRM list from a panel under the Share button: set workspace-wide access, add people, teams or emails as chips, pick their access level and invite them.
Workspace access comes first
The top row sets the default for everyone (Full access, Read and write, Read only or No access) and says in plain words what that means. Turning it to No access makes the list private, and the Share button shows a lock so the state is visible without opening the panel.
One field for people, teams and emails
Typing searches workspace members by name or email and teams by name. A full email that belongs to nobody in the workspace becomes an "Invite by email" option. Each pick is a removable chip, Backspace removes the last one, and arrow keys plus Enter pick without the mouse.
Validation that names the problem
Anything that is not a person, team or well-formed email gets a field error under the input, and so do duplicates: "Priya Natarajan already has access", "sam@harborlogistics.com has already been invited". Members who already have access stay in the suggestions, greyed out with "Has access", so nobody wonders where they went.
The outcome is the access list
Invite adds everyone with the chosen level and a toast confirms it. Members are active right away; outside emails show an Invited badge with Resend and Revoke in their menu. Every row keeps its own level menu, and the admin row is fixed at Full access with the reason underneath.
Step by step
- 01
Open the list
The Sales list open as a pipeline board (a wireframe sketch where your own app goes), with Share and the avatars of who has access in the list header.
Sharing starts from the object itself, so the user sees exactly what they are about to share. The header shows who has access as a small avatar stack next to Share.
- 02
Set workspace access
The share panel opens under Share with the workspace-wide level, the people picker and who has access now.
The workspace default decides whether the people you add get more than everyone else or are the only ones who get in. Each level explains itself in the menu and in the sentence under the row.
- 03
Add people or teams
The picker is open with workspace members and teams; picked people become chips in the field.
One field covers members, teams and outside emails, so the user never has to know which kind of invite they need. Chips make a batch visible and easy to correct before anything is sent.
- 04
Choose their access
The level menu inside the picker is open: Full access, Read and write or Read only, each with what it allows.
The level applies to the whole batch, so it sits next to the chips rather than on each one. Descriptions stop people from handing out Full access when they meant "can edit".
- 05
Shared
Priya now has read and write access, sam@harborlogistics.com is listed as Invited, and a toast confirms the share.
The result shows up where the user is looking: the access list grows, the header avatars update and the picker is empty for the next person. Pending invitations stay distinct and can be resent or revoked.
Built with shadcn/ui and Radix UI
- Button
- Dropdown Menu
- Field
- Badge
- Avatar
- Sonner
This is an original rebuild of the flow's structure, with its own brand, copy and artwork. Attio is a trademark of its owner; this page is not affiliated with or endorsed by Attio.
Frequently asked questions
Installing, adapting and theming this flow for Radix UI.
With a Pro plan, run npx shadcn@latest add @shadcnpro/flow-attio-sharing-a-list. The shadcn CLI copies the flow into components/flows/attio-sharing-a-list/ and adds the shadcn/ui components it uses. Base UI (@shadcnpro/base/flow-attio-sharing-a-list) and React Aria (@shadcnpro/aria/flow-attio-sharing-a-list) ship the same flow, with the same steps and copy.
No. It is an original rebuild of the structure of Attio's sharing flow, written from scratch with shadcn/ui, with its own brand, copy and artwork. Attio is a trademark of its owner, and this page is not affiliated with or endorsed by Attio.
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/attio-sharing-a-list.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.
Everything happens in local state: the members and teams come from content.ts, Invite adds grants in memory and shows a toast, and nothing is emailed. In a real app, search members on your server, create grants and invitations in one request, send the invitation email from there and load the access list from your database.
Button, Dropdown Menu, Field, Badge, Avatar 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 large breakpoint the sketched sidebar is hidden and the sketched board is cut off at the screen edge. The share panel spans the screen with a small margin, the chips wrap onto more lines and the menus stay inside the screen.