

Every state


default


hover


focus


loading


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| providers | Provider[] | Google, Microsoft, GitHub, X | Providers in display order: google, microsoft, github, x, discord, slack. Every row reads "Sign in with …", the one wording all six allow. |
| hrefs | Partial<Record<Provider, string>> | /auth/<provider> | Where each provider's sign-in starts (a server route that redirects to the provider). |
| lastUsed | Provider | null | GitHub | The provider used last time (read it from a cookie on the server). It moves to the top and gets a "Last used" tag. |
| status | "idle" | "loading" | "disabled" | idle | loading: the clicked provider shows a spinner, the others are disabled and the list is aria-busy. disabled: every row is disabled. |
| pending | Provider | null | null | The provider that was clicked, shown with the spinner while status is loading. |


