SSO Buttons

Social sign-on buttons for multiple providers

SaaSAuth

Overview

SsoButton renders an individual SSO provider button with the provider icon and label. SsoButtonGroup arranges multiple provider buttons in vertical or horizontal layouts. Both support outline/filled variants, "sign in" or "continue" text, loading states, and custom labels for i18n.

Usage

import { SsoButton, SsoButtonGroup } from "@leanicon/web-builder-library/saas";

{
  /* Single button */
}
<SsoButton provider="google" onClick={() => handleSsoLogin("google")} />;

{
  /* Button group */
}
<SsoButtonGroup
  providers={["google", "microsoft", "github"]}
  onProviderClick={(provider) => handleSsoLogin(provider)}
/>;

SsoButton Variants

Google

Microsoft

GitHub

Filled Variant

Continue Text

Loading

Disabled

SsoButtonGroup Variants

Button Group (Vertical)

Button Group (Horizontal)

Button Group (Filled)

Button Group (Loading)

Button Group (Disabled)

Button Group (Two Providers)

Button Group (Single Provider)

Button Group (Continue Text)