Invite teammates and review consumer-owned invitation states with explicit resend and revoke requests.
npx shadcn@latest add @tidal-pro/team-invitations
Desktop viewport
Installation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
{ }
Terminal
npx shadcn@latest add @tidal-pro/team-invitations
Import components/ui/tidal.css, components/ui/team-invitations.css, components/ui/input-group.css, components/ui/native-select.css, components/ui/status-badge.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Requires title, consumer-owned invitation records with unique IDs/email/status, unique role options, controlled email/role values and change callbacks. Invitation states are pending, accepted, expired or revoked; resend and revoke actions appear only where applicable and call optional consumer handlers after unprevented native clicks. The native email/role form supports action, method, target and submitter overrides; with onInviteRequest it prevents navigation after the native onSubmit accepts the event, while without that callback native form submission remains available. Busy or normalized disabled submission is suppressed even when a form submit is dispatched directly. The owned fields stay in the invitation form and remain editable when available; native input/select/button prop bags and refs preserve caller-first prevented handlers, explicit aria-disabled=false and defensive unsafe-markup stripping. Loading, inviting and per-invitation pending states are controlled. Synchronous accepted action removal restores focus to a remaining action or the root without scrolling; confirmation remains an optional consumer-owned slot. Error, field error, loading, empty and localized label content plus native section attributes/ref and h2-h5 hierarchy are supported. Consumers own validation outcomes, confirmation, sending, membership, authentication, requests, storage and persistence. The component sends no email and changes no account.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.