ClerkSocialRow
fun ClerkSocialRow(providers: ImmutableList<OAuthProvider>, modifier: Modifier = Modifier, clerkTheme: ClerkTheme? = null, onClick: (OAuthProvider) -> Unit = {}, allowSingleProviderFullWidth: Boolean = true)
A composable row layout for displaying multiple social authentication buttons.
This component follows the Clerk web social button layout: one or two providers render as full-width buttons with text, while larger provider sets render as balanced icon-only rows with up to five providers per row. Four providers are shown as a 2x2 grid.
Parameters
providers
List of OAuthProviders to display as social login buttons.
modifier
Optional Modifier for theming and styling.
clerkTheme
Optional ClerkTheme for theming.
onClick
Lambda to be invoked when any button is clicked, passing the selected OAuthProvider.
allowSingleProviderFullWidth
Whether a single provider should render as a full-width button with text. Defaults to true.