Skip to main content
FlowsJoining & AcceptingAccepting a team invitation similar to Linear
shadcn/ui Flows

Accepting a team invitationsimilar toLinear

The invitee’s side of a workspace invitation in an issue tracker. The invitation page says who invited you, to which workspace, team and role, and which address to log in with. Login is passwordless and checks that address, a workspace picker turns the pending invitation into a Join button, and the user lands in the app with a short tip about its Active issues view.

Install flow

Step 1 of 6Invitation

Every screen

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

01InvitationWho invited you, to which workspace, team and role, and which address to log in with.
02Log inPick a login method: Google, email, SAML SSO or passkey.
03Log in with emailType the invited address and continue.
04Check your emailOpen the login link from the inbox, or type the 6-digit code by hand.
05Join the workspaceThe workspaces this account can enter, with Join on the invited one.
06Team issuesThe joined workspace with a first-run tip explaining the Active issues view, over a wireframe sketch where your own app goes.

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 goes from the invitation page to the team’s issues: log in as the invited address, verify it with a login link or code, join the workspace and land on a first-run tip.

The invitation names the account it was sent to

Instead of a generic "Accept" button, the page says "log in as alex.morgan@halcyon.app". People with a personal and a work account pick the right one first time, and the server can match the invitation to the user without a token in every later request.

Wrong account is caught before the inbox

If the user types another address, the login form says which address the invitation was sent to and stays put, rather than sending a login email to an account that will find no invitation behind it.

Joining is its own decision

After login the user sees every workspace they can enter, with the inviter on the row, and joins with one button. Accounts that already belong to a workspace, or have several invitations, get the same screen, so routing is one rule: log in, then pick.

Context carries through to the landing

Workspace, team and role shown on the invitation are what the user lands in: a toast confirms the role and team, the sidebar opens on Halcyon, and a first-run tip explains the view they landed on. The issue tracker around it is a wireframe sketch where your own app goes.

Step by step

  1. 01

    Invitation

    Who invited you, to which workspace, team and role, and which address to log in with.

    Naming the inviter and the workspace makes the page trustworthy; naming the address prevents joining with the wrong account.

  2. 02

    Log in

    Pick a login method: Google, email, SAML SSO or passkey.

    All methods on one screen, with a "Joining Halcyon" pill so the invitation is not forgotten. New users go through the same buttons; the account is created on the way.

  3. 03

    Log in with email

    Type the invited address and continue.

    The field appears in place under Google, so the page does not change. The address is checked against the invitation before any email is sent.

  4. 04

    Check your email

    Open the login link from the inbox, or type the 6-digit code by hand.

    The link verifies the address; the code is the fallback when the email is opened on another device.

  5. 05

    Join the workspace

    The workspaces this account can enter, with Join on the invited one.

    Joining is an explicit choice the user can see the result of, and the same screen handles several workspaces or none.

  6. 06

    Team issues

    The joined workspace with a first-run tip explaining the Active issues view, over a wireframe sketch where your own app goes.

    The user lands where the invitation pointed, a toast confirms the role and team, and one short tip is the only thing asking for attention.

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. Linear is a trademark of its owner; this page is not affiliated with or endorsed by Linear.

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.