Skip to content
Account chooser, light
Light
Account chooser, dark
Dark

Every state

  • Account chooser, default, light
    Account chooser, default, dark

    default

  • Account chooser, hover, light
    Account chooser, hover, dark

    hover

  • Account chooser, focus, light
    Account chooser, focus, dark

    focus

  • Account chooser, loading, light
    Account chooser, loading, dark

    loading

Props

PropTypeDefaultWhat it does
titlestringChoose an accountThe heading above the list.
subtitlestringto continue to Kiem StudioThe line under the heading; empty hides it.
accountsAccount[]Three accounts (Google, Microsoft, GitHub signed out)Accounts used on this device, most recent first: { id, name, email, provider, photo, signedOut? }. provider is one of google, microsoft, github, x, discord, slack; each row shows the provider's mark next to the email (Discord also its name).
actionstring/auth/chooseWhere a picked account posts to, with the fields account and provider.
removeActionstring/auth/forgetWhere "Remove from this list" posts to (field account). Empty hides the remove buttons and shows a chevron instead.
csrfTokenstring""Sent as a hidden csrfToken field with every post when set.
useAnotherLabelstringUse another accountThe last row's label.
useAnotherHrefstring/sign-inWhere the last row links to (the full sign-in page).
status"idle" | "loading"idleloading: the picked account shows a spinner, every other control is disabled and the list is aria-busy.
pendingstring | nullnullThe id of the picked account, shown with the spinner while status is loading.

More sign-in buttons

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