App, invite form
- from @klarhimmel
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.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @klarhimmel/app-team-invite