ClerkTextButton

fun ClerkTextButton(text: String, modifier: Modifier = Modifier, textColor: Color? = null, textStyle: TextStyle? = null, boundedRipple: Boolean = true, rippleColor: Color = Color.Unspecified, clerkTheme: ClerkTheme? = null, onClick: () -> Unit)

A simple composable that displays a clickable text.

This button is styled to look like a hyperlink or a subtle action item. It uses a Box with a Text element inside, made clickable.

Parameters

text

The string to display on the button.

modifier

The Modifier to be applied to the button's Box container.

textColor

The color of the text. Defaults to the primary color from ClerkMaterialTheme.

textStyle

The style of the text. Defaults to titleSmall typography from ClerkMaterialTheme.

onClick

Lambda to be invoked when the button is clicked.