OutlinedSwipeButton

fun OutlinedSwipeButton(modifier: Modifier = Modifier, text: String = "Swipe to confirm", state: SwipeButtonState = rememberSwipeButtonState(), outlineColor: Color = MaterialTheme.colorScheme.primary)

A pre-styled SwipeButton with an outlined border and transparent background.

Parameters

modifier

The Modifier to be applied to the button.

text

The label displayed inside the swipe area.

state

The state of the button.

outlineColor

The color of the border and the draggable handle.