---
title: "SwipeToRevealSecondaryAction"
description: "A composable which can be used for setting the secondary action of material `SwipeToRevealCard`
and `SwipeToRevealChip`."
type: "component"
---

<div class='type'>Composable Component</div>



A composable which can be used for setting the secondary action of material `SwipeToRevealCard`
and `SwipeToRevealChip`.

<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@ExperimentalWearMaterialApi
@Composable
public fun SwipeToRevealSecondaryAction(
    revealState: RevealState,
    onClick: () -> Unit,
    modifier: Modifier = Modifier,
    interactionSource: MutableInteractionSource? = null,
    content: @Composable () -> Unit,
): Unit
```


#### Parameters

| | |
| --- | --- |
| revealState | The `RevealState` of the `SwipeToReveal` where this action is used. |
| onClick | A lambda which gets triggered when the action is clicked. |
| modifier | `Modifier` to be applied on the action |
| interactionSource | The `MutableInteractionSource` representing the stream of interactions with this action. |
| content | The composable which will be displayed on the action. It is recommended to keep this content as an `Icon` composable. |






