AuthProviderButton
Auth

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

TSX
import { AuthProviderButton } from "@solarius/onset";

Props

AuthProviderButtonProps props
PropTypeDefaultDescription
iconReactNode—Provider icon content.
loadingboolean—Swaps the icon for a spinner and disables the button.
metaReactNode—Trailing meta tag, e.g. 'SAML' or 'SSO'.
variant"default" | "primary" | "outline""default"Visual weight.

Example

AuthProviderButton