

Every state


default


hover


focus


loading


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| providers | Provider[] | Google, GitHub, X, Slack | Providers in display order: google, github, x, slack. Microsoft and Discord are not offered: their rules do not allow a logo-only button. |
| actions | Partial<Record<Provider, string>> | /auth/<provider> | Where each provider's form posts to. |
| csrfToken | string | "" | Sent as a hidden csrfToken field with every post when set. |
| caption | string | Or sign in with | The caption between the hairlines above the row; an empty string hides it. |
| status | "idle" | "loading" | "disabled" | idle | loading: the clicked provider keeps its logo and gets a spinner badge, the others are disabled and the row is aria-busy. disabled: every button is disabled. |
| pending | Provider | null | null | The provider that was clicked, shown with the spinner badge while status is loading. |
More sign-in buttons
All 8sign-in-button-04 is in UI ProGet UI Pro, €199


