

Every state


default


sso-detected


personal


error


loading
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| ssoDomains | (string | { domain: string; name: string })[] | hoorn-installatie.nl (Hoorn Installatie) | Company domains that sign in through single sign-on; a bare domain gets a name made from it. |
| personalDomains | string[] | gmail.com, outlook.com, icloud.com … | Personal mail domains that always keep the normal flow. |
| label | string | Work email | Visible label of the field. |
| placeholder | string | name@company.com | Placeholder of the field. |
| continueLabel | string | Continue | Button label for the normal flow. |
| ssoLabel | string | Continue with SSO | Button label once a company domain is detected. |
| ssoHint | string | Single sign-on is set up for {domain} | Line under the organisation name; {domain} is replaced. |
| personalHint | string | You'll sign in with your password next. | Line shown for a valid personal or unknown domain. |
| errorMessage | string | Enter an email address like name@company.com. | Message when the address is not valid on submit. |
| providers | Provider[] | Google, Microsoft | Providers offered under the divider; empty hides them. |
| dividerLabel | string | or | Text in the divider above the providers. |
| defaultEmail | string | "" | Starting value of the field. |
| status | "idle" | "loading" | idle | Loading shows a spinner and the organisation being opened. |
| onContinue | (email, sso) => void | – | Called on submit with the email and the detected organisation (or null). |
| onSelect | (provider) => void | – | Called with the provider that was chosen. |
More sign-in buttons
All 8sign-in-button-08 is in UI ProGet UI Pro, €199


