

Every state


default


hover


focus


open


last-method


loading
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | Connected accounts | The section heading. |
| description | string | Sign in to Kiem Studio with any of these accounts. | The line under the heading; empty hides it. |
| providers | Provider[] | Google, Microsoft, GitHub, Slack | Providers in display order: google, microsoft, github, x, discord, slack. |
| connections | Partial<Record<Provider, { account: string; since: string }>> | Google and GitHub | The connected providers with the account shown after the name and the date it was connected (already formatted). Others show Connect. |
| hasPassword | boolean | true | Without a password, the only connected provider cannot be disconnected: its button is locked and a warning links to passwordHref. |
| connectAction | string | /settings/connections/connect | Where Connect posts to (field provider). |
| disconnectAction | string | /settings/connections/disconnect | Where the confirmed Disconnect posts to (field provider). |
| csrfToken | string | "" | Sent as a hidden csrfToken field with every post when set. |
| passwordHref | string | /settings/password | The set-a-password link in the last-method warning. |
| confirming | Provider | null | null | A provider whose disconnect confirmation is open on first render (Disconnect opens it too). |
| pending | Provider | null | null | A provider whose connect or disconnect is on its way: its button shows a spinner, the others are disabled. |
More sign-in buttons
All 8sign-in-button-03 is in UI ProGet UI Pro, €199

