Skip to content
Work email SSO, light
Light
Work email SSO, dark
Dark

Every state

  • Work email SSO, default, light
    Work email SSO, default, dark

    default

  • Work email SSO, sso-detected, light
    Work email SSO, sso-detected, dark

    sso-detected

  • Work email SSO, personal, light
    Work email SSO, personal, dark

    personal

  • Work email SSO, error, light
    Work email SSO, error, dark

    error

  • Work email SSO, loading, light
    Work email SSO, loading, dark

    loading

Props

PropTypeDefaultWhat 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.
personalDomainsstring[]gmail.com, outlook.com, icloud.com …Personal mail domains that always keep the normal flow.
labelstringWork emailVisible label of the field.
placeholderstringname@company.comPlaceholder of the field.
continueLabelstringContinueButton label for the normal flow.
ssoLabelstringContinue with SSOButton label once a company domain is detected.
ssoHintstringSingle sign-on is set up for {domain}Line under the organisation name; {domain} is replaced.
personalHintstringYou'll sign in with your password next.Line shown for a valid personal or unknown domain.
errorMessagestringEnter an email address like name@company.com.Message when the address is not valid on submit.
providersProvider[]Google, MicrosoftProviders offered under the divider; empty hides them.
dividerLabelstringorText in the divider above the providers.
defaultEmailstring""Starting value of the field.
status"idle" | "loading"idleLoading 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 8
sign-in-button-08 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans