Invite someone: an email field with a hint, a role select and a send button, with four states (idle, sending, sent, error with the field marked and described). Sends only through onInvite(email, role) from its host (a promise: sending while it runs, sent or the error banner after); without one it previews.
pnpm dlx shadcn@latest add "https://ui.klarhimmel.com/r/app-team-invite.json"