Invite
Team invite form with dynamic email inputs and an add-more button.
Invite your team
Collaborate with your team on Saturation
Features
- Dynamic fields — Add more email inputs up to a configurable max
- Skip option — Optional skip for non-mandatory invites
- Smart submit — Only sends non-empty email addresses
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Invite your team" | Heading text |
| subtitle | string | - | Subheading text |
| initialCount | number | 3 | Initial number of email fields |
| maxInvites | number | 10 | Maximum number of invite fields |
| onSubmit | (emails: string[]) => void | - | Callback with filled emails |
| onSkip | () => void | - | Callback for skip button |
Components Used
buttoninput