Team Invitation Flow

A clean, minimal component for inviting team members with role-based permissions. Simple structure with clear actions and status indicators.

Preview

Features

  • Clean card layout with header and invitation list
  • Bulk email input with colorful avatar chips
  • Role selector with distinct icons (Admin, Member, Viewer)
  • Expiration dropdown with quick presets
  • Always-visible action buttons for better accessibility
  • Mobile-friendly layout with stacked rows and accessible controls
  • Status badges with semantic colors
  • Simple empty state design
  • Confirmation dialog for destructive actions
  • Loading skeleton states

Install Summary

This kit will add the following files and dependencies to your project. Download the bundle and extract it into your project root.

Component Files

FilePath
team-invitation.tsxcomponents/user-management/team-invitation/team-invitation.tsx
invite-modal.tsxcomponents/user-management/team-invitation/invite-modal.tsx
pending-invitations.tsxcomponents/user-management/team-invitation/pending-invitations.tsx
invitation-row.tsxcomponents/user-management/team-invitation/invitation-row.tsx
email-input.tsxcomponents/user-management/team-invitation/email-input.tsx
role-select.tsxcomponents/user-management/team-invitation/role-select.tsx
expiration-select.tsxcomponents/user-management/team-invitation/expiration-select.tsx
confirm-dialog.tsxcomponents/user-management/team-invitation/confirm-dialog.tsx
types.tscomponents/user-management/team-invitation/types.ts
index.tscomponents/user-management/team-invitation/index.ts

Utility Files

FilePath
design-tokens.tslib/design-tokens.ts

Dependencies

Install these dependencies before using the component:

Installation

Download the complete bundle as a ZIP file, or copy the text bundle to your clipboard:

Code available with Pro

Unlock this component to download or copy the install files.

One-time $99. Updates included.

Component Files

The component consists of the following files:

1. team-invitation.tsx

2. invite-modal.tsx

3. pending-invitations.tsx

4. invitation-row.tsx

5. email-input.tsx

6. role-select.tsx

7. expiration-select.tsx

8. confirm-dialog.tsx

9. types.ts

10. index.ts

Shared Utilities

This component uses shared utility functions. These are included in the bundle above:

design-tokens.ts

Usage

TeamInvitation Props

PropTypeDefault
invitationsInvitation[]required
onInvite(emails: string[], role: InvitationRole, expiresAt?: Date | null) => Promiserequired
onResend(invitationId: string) => Promise-
onRevoke(invitationId: string) => Promise-