Workspace Picker Page
Post sign in workspace chooser listing memberships with marks, member counts, and role badges, plus a create workspace action and sign out link.
Post sign in workspace chooser listing memberships with marks, member counts, and role badges, plus a create workspace action and sign out link.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
Workspace Picker Page is the chooser shown after sign in when the signed in email belongs to more than one workspace. The intro names the account (maya@acme.com) and explains these are the workspaces where that email is a member. Each row carries the workspace mark, its member count, and a role badge, with the primary workspace marked by a filled tile so the default reads at a glance. A create a new workspace action sits below the list for anyone starting fresh rather than joining.
Workspaces are one typed const array of initial, name, members, role, and primary. The divider note handles the missing workspace case by pointing users to ask an admin for an invite or sign in with the email that workspace knows them by, and the footer offers a sign out escape hatch for the wrong account.
Reach for this block right after authentication when the account maps to several workspaces, wired to your workspace switch endpoint. Resolve the memberships server side so the list and roles reflect real access, then route the picked row into that workspace.
A natural flow around it on an Application Pro page:
Before
After
One strong use is the multi-workspace chooser. Other shapes:
Tip: name the signed in email at the top of the picker; on a shared machine it catches the wrong account before the user drops into a workspace that is not theirs.