AuthProviderButton
Full-width SSO / OAuth / custom provider button with loading state.
AuthProviderButton renders a full-width sign-in action for an identity provider. Its loading state replaces the icon with a spinner.
Import
import { AuthProviderButton } from "@solarius/onset";Props
| Prop | Type | Default | Description |
|---|---|---|---|
icon | ReactNode | — | Provider icon content. |
loading | boolean | — | Swaps the icon for a spinner and disables the button. |
meta | ReactNode | — | Trailing meta tag, e.g. 'SAML' or 'SSO'. |
variant | "default" | "primary" | "outline" | "default" | Visual weight. |