

Every state


default


hover


focus


typing


invalid


too-many


empty


sent
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "invite" | Id of the form; its parts hang off it. |
| defaultEmails | string[] | ["femke@studiobreed.example", "bas@example.com"] | Addresses already in the field at the start. |
| roles | string[] | ["Admin", "Support", "Warehouse", "Viewer"] | The roles to choose from. |
| defaultRole | string | "Support" | The role selected at the start. |
| seatsLeft | number | null | 3 | Seats left on the plan; more chips than this blocks Send. Null: no seat line. |
| onSend | (emails: string[], role: string) => Promise<unknown> | – | Sends the invites; reject to show the error. Default: a short pretend wait. |
| sent | MemberRowInviteSent | null | – | Start in the sent state (previews). Null: the form. |
| labels | { title: string emails: string placeholder: string role: string send: string sending: string remove: string invalid: string invalidHelp: string help: string seatsLeft: string tooMany: string sentLine: string more: string failed: string added: string removed: string } | { title: "Invite people", emails: "Email addresses", placeholder: "name@company.com", role: "Invite as", send: "Send … | Labels. |
| className | string | – | Extra classes on the outer element. |
More member rows
All 4member-row-01 is in UI ProGet UI Pro, €199


