Search

Search components and flows across the catalog

HarborConceptInteractive preview

Harbor: Invite your team

A workspace invite panel where typed or pasted emails become removable chips with a role each, a live seat meter, a copyable join link and a Send invites button that stays disabled until an address is valid.

Category
Collaboration
Platform
Web

Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Three invites ready state

Use this screen

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/screens/harbor-invite-team.json

2. Use it

Every prop is optional
app/page.tsx
import HarborInviteTeam from "@/components/harbor-invite-team";

export default function Page() {
  return <HarborInviteTeam />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. A calm grey-teal (#eaf1f1) app shell: a 15rem left sidebar from 1024px (teal #0b5d61 anchor logo, 'Northlight Studio' with 'Harbor · Team plan', Home/Projects/Inbox/Docs/Members/Settings with Members as a white pill and a 3px teal bar, the signed-in admin at the bottom) and a breadcrumb bar 'Northlight Studio / Members / Invite'. Below 1024px the sidebar is replaced by a 64px top bar.
  2. A centred 46rem card (radius 18px, #fbfdfd, soft teal-grey shadow) titled 'Invite your team' (26px bold) with a seat box on the right: '5 of 10 used', a 8px meter with a solid teal segment for seats in use and a striped light-teal segment for these invites, and a two-item legend.
  3. One email field (56px min, radius 12px): Enter, comma, semicolon or space turns the typed text into a 40px chip; pasting a list (including 'Name <email>' lines) adds them all at once; Backspace on an empty field highlights the last chip, a second Backspace removes it. A valid chip has a coloured initial, the address, its own Admin/Member/Guest select and a remove button.
  4. Invalid, already-member or already-invited addresses become red chips (#fdf0ed, #8c2a17) with a warning icon; a red list under the field gives each reason, and clicking a red chip puts the address back in the field to edit. Adding a duplicate shakes the existing chip instead.
  5. Three radio cards set the role for new chips, each with an icon, a one-line explanation and a seat note (Guests are 'Free, no seat'); picking Admin while chips are Members shows an 'Apply Admin to all 3' link. A 'Copy invite link' row has a sliding switch; on, it reveals a monospace link field and a Copy button that flips to a green 'Copied' for about two seconds.
  6. A tinted footer shows a live hint ('3 invites ready, 1 guest free of charge', or why sending is blocked) and a teal 'Send 3 invites' button, grey and disabled with no valid address, any red chip or more seats than the 10-seat plan. Sending shows a spinner for a second, then calls onContinue with [{ email, role }]; on its own the card shows an 'invites sent' summary with 'Invite more people'.

How it behaves

  • Typing 'ana@studio.co' then Enter, comma or space adds a chip and clears the field; pasting 'a@x.co, b@y.co; Cara <c@z.co>' adds three chips at once.
  • Typing 'jo@northlight' adds a red chip and a red reason under the field, and Send stays disabled until it is removed or fixed; clicking the red chip puts the text back in the field.
  • The seat count and striped segment grow by one for each Admin or Member chip and do not change for a Guest; changing a chip's select to Guest lowers the count.
  • With no chips Send invites is disabled and the hint says to add an address; with three valid chips it reads 'Send 3 invites'.
  • The invite link switch is role=switch with aria-checked; turning it off hides the link row, and Copy changes to 'Copied' then back.
  • Every control shows a teal focus ring; at 375px chips wrap, the role cards stack and nothing scrolls sideways; with reduced motion chips and panels appear without animating.

More from Harbor

Harbor: Plan updated

Harbor: Plan updated

HarborConceptSettings screen

Harbor: Cancel your plan

Harbor: Cancel your plan

HarborConceptSettings screen

Harbor: Team members

Harbor: Team members

HarborConceptCollaboration screen

Harbor: Account settings

Harbor: Account settings

HarborConceptSettings screen