Skip to content
Passkey first, light
Light
Passkey first, dark
Dark

Every state

  • Passkey first, default, light
    Passkey first, default, dark

    default

  • Passkey first, hover, light
    Passkey first, hover, dark

    hover

  • Passkey first, focus, light
    Passkey first, focus, dark

    focus

  • Passkey first, loading, light
    Passkey first, loading, dark

    loading

  • Passkey first, error, light
    Passkey first, error, dark

    error

Props

PropTypeDefaultWhat it does
passkeyLabelstringSign in with a passkeyLabel of the passkey button.
hintstringUse Touch ID, Face ID, Windows Hello or a security keyPlatform hint under the passkey button.
retryLabelstringTry your passkey againPasskey button label after an error.
waitingLabelstringWaiting for your passkey…Passkey button label while the device prompt is open.
waitingHintstringFollow the prompt from your browser or deviceHint while waiting.
errorMessagestringThat passkey wasn't accepted. Try again, or choose another way below.Message when the passkey was not accepted.
status"idle" | "loading" | "error"idleLoading while the device prompt is open; error after a failed attempt.
dividerLabelstringOther ways to sign inText in the divider above the fallbacks.
providersProvider[]Google, Microsoft, GitHubThird-party fallbacks, all at the same size.
emailLabelstringContinue with emailEmail fallback link; an empty string hides it.
emailHrefstring#emailWhere the email fallback goes.
onPasskey() => void–Starts the passkey ceremony (navigator.credentials.get).
onSelect(provider) => void–Called with the provider that was chosen.

More sign-in buttons

All 8
sign-in-button-05 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