ActionPill

fun ActionPill(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, containerColor: Color = MaterialTheme.colorScheme.surfaceVariant, contentColor: Color = MaterialTheme.colorScheme.onSurfaceVariant, contentPadding: PaddingValues = PaddingValues( horizontal = MaterialTheme.kmpSpacing.medium, vertical = MaterialTheme.kmpSpacing.small, ), content: @Composable RowScope.() -> Unit)

A capsule-shaped command with arbitrary content, such as an icon and a styled label. Unlike PillChip it has no selected state; use it for compact links and commands.

Pass colors as a matching pair (onX on X) so the label keeps its contrast.