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 arranges social login buttons in rows of exactly 3 buttons each. When there are more than 3 buttons, they wrap to additional rows. Each button takes equal width within its row and is displayed in icon-only mode for consistent, compact sizing.

For the last row, if there's an odd number of buttons remaining, they are offset in a brick pattern with the first button centered and any additional buttons spread evenly.

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.