Skip to main content
FlowsJoining & AcceptingJoining a workspace similar to Sana
shadcn/ui Flows

Joining a workspacesimilar toSana

The invitee’s side of joining a team’s AI assistant. The invitation page says which workspace, who invited you, how many people are already there, your role and the address the invitation was sent to. Accepting leads to a combined sign-in / sign-up page that names the workspace being joined, a 6-digit code confirms the address, and the user lands on the workspace’s home with a greeting by name, a welcome card saying who shared what, and their own row with the role they were given.

Install flow

Step 1 of 4Invitation

Every screen

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

01InvitationWhich workspace, who invited you, how many members, your role and the invited address.
02Sign in or create an accountContinue with Google, or type the work email the invitation was sent to.
03Check your emailEnter the 6-digit code from the email, or open the inbox, to confirm the address and join.
04Workspace homeThe landing: a greeting by name, a welcome card about what the inviter shared, and the user row with the role, over a sketch of the workspace.

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

An invitee accepts an invitation to an AI assistant workspace, signs in with the invited address or Google, confirms a 6-digit code and lands on a first-run "For you" home.

Accept first, authenticate second

The invitation is readable without an account: the workspace, inviter, member count and role are shown before any login wall, so the user decides to join while the context is in front of them. Sign-in comes after, and creates the account on the way when there is none.

One sign-in page for new and returning users

Google or a work email, nothing else. The page does not ask whether you already have an account; the code email works for both, and a "Joining Fernhill · invited by Maya" pill keeps the invitation in view.

The wrong address is caught before an email goes out

The email is checked against the invitation on submit. Another address gets an inline error naming the invited one, instead of a code email for an account that has no invitation behind it.

Joining is confirmed where the user lands

The code step’s button reads "Join Fernhill", and the home screen opens with a toast naming the role and the new member count, a greeting with the user’s name, a welcome card saying what the inviter shared, and the user’s row with their role. The rest of the home is a wireframe sketch where your own app goes.

Step by step

  1. 01

    Invitation

    Which workspace, who invited you, how many members, your role and the invited address.

    The user sees what they are joining before any login, and the invited address is stated up front so the right account is used.

  2. 02

    Sign in or create an account

    Continue with Google, or type the work email the invitation was sent to.

    One page for new and returning users. The "Joining Fernhill" pill keeps the invitation in view, and the address is checked against it before any email goes out.

  3. 03

    Check your email

    Enter the 6-digit code from the email, or open the inbox, to confirm the address and join.

    The code proves the user owns the invited address; the button says "Join Fernhill" because this is the moment they become a member.

  4. 04

    Workspace home

    The landing: a greeting by name, a welcome card about what the inviter shared, and the user row with the role, over a sketch of the workspace.

    The user lands inside the workspace the invitation named and sees it confirmed: their name, the inviter, the role. The home around it is a wireframe sketch where your own app goes.

Built with shadcn/ui and Radix UI

  • Button
  • Input
  • Input OTP
  • Field
  • Avatar
  • Sonner

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

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.