Team invite preview

Team invite

Connected teammates – a cursor drags a new one into the empty slot, the line turns solid and they go online

  • Group
    Card illustrations
  • Origin
    Copied · affectUI · source
  • License
    MIT
  • Added
    Oct 18
npx shadcn@latest add @deank/team-invite

The registry stays private. Install from the repo with a GitHub token — see the README.

Usage

import { TeamInvite } from "@/registry/blocks/team-invite/team-invite";

<TeamInvite avatars={/* … */} />

Props

NameTypeDefaultDescription
avatars[TeamInviteAvatar, TeamInviteAvatar, TeamInviteAvatar]Required. The two connected teammates, then the one being invited – each { src, name? } with a square portrait
labelstringAccessible description – by default built from the names
classNamestringExtra class on the root, e.g. for width or margins

When to use

- Feature cards about inviting teammates, collaboration, sharing or multiplayer - Onboarding steps like “Invite your team” where a friendly, moving scene helps

When not to use

Interactive app UI; these are illustrations, so keep them out of task flows.

Related

Agent cursor