

Every state


default


hover


focus


loading


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| providers | Provider[] | Google, Microsoft, GitHub, Slack | Providers in display order: google, microsoft, github, x, slack. Discord is not offered: its rules forbid imitating its colours. Every button reads "Sign in with …". |
| hrefs | Partial<Record<Provider, string>> | /auth/<provider> | Where each provider's sign-in starts (a server route that redirects to the provider). |
| status | "idle" | "loading" | "disabled" | idle | loading: the clicked provider shows a spinner, the others are disabled and the list is aria-busy. disabled: every button is disabled. |
| pending | Provider | null | null | The provider that was clicked, shown with the spinner while status is loading. |
More sign-in buttons
All 8sign-in-button-02 is in UI ProGet UI Pro, €199

