SunUI
Founding$79 lifetime updates till Jan 11Claim a seat
ProType

Team Invite

Invite people to a team or project: an avatar row with a people or seats count, an address box where typed or pasted emails turn into chips (bad addresses and people already on the team turn red with a reason), a role selector and an invite button that sends, then shows Sent in the brand spot colour while the new people slide into the avatar row and appear under Pending, where each invite can be withdrawn.

When to use it

  • Share dialogs and team settings in SaaS apps
  • Onboarding steps that ask a new workspace owner to bring their team
  • Plans with seat limits where the invite should show how many seats are left

Watch out

  • Send the invites on your server; onInvite only reports the addresses and role
  • Keep seatLimit in sync with billing so the block does not promise seats the plan does not have

Let your agent add it

One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.

This is a Pro block

One license unlocks every Pro block, now and in the future.

One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.

See pricing

Install with your license

  1. 1. Add the SunUI Pro registry to components.json.
    components.json
    {
      "registries": {
        "@sunui-pro": {
          "url": "https://sunui.synvize.com/r/pro/{name}.json",
          "headers": {
            "Authorization": "Bearer ${SUNUI_LICENSE_KEY}"
          }
        }
      }
    }
  2. 2. Put your license key in .env.local.
    $ SUNUI_LICENSE_KEY=your-license-key
  3. 3. Install the block.
    $ npx shadcn@latest add @sunui-pro/team-invite
Team Invite, React Component | SunUI