

Every state


default


hover


focus


loading
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | Choose an account | The heading above the list. |
| subtitle | string | to continue to Kiem Studio | The line under the heading; empty hides it. |
| accounts | Account[] | 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). |
| action | string | /auth/choose | Where a picked account posts to, with the fields account and provider. |
| removeAction | string | /auth/forget | Where "Remove from this list" posts to (field account). Empty hides the remove buttons and shows a chevron instead. |
| csrfToken | string | "" | Sent as a hidden csrfToken field with every post when set. |
| useAnotherLabel | string | Use another account | The last row's label. |
| useAnotherHref | string | /sign-in | Where the last row links to (the full sign-in page). |
| status | "idle" | "loading" | idle | loading: the picked account shows a spinner, every other control is disabled and the list is aria-busy. |
| pending | string | null | null | The id of the picked account, shown with the spinner while status is loading. |
More sign-in buttons
All 8sign-in-button-01 is in UI ProGet UI Pro, €199

