<div class='type'>Compose Modifier</div>

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


<h2 id="indication-interactionsource-indication">indication</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun Modifier.indication(interactionSource: InteractionSource, indication: Indication?): Modifier
```


Draws visual effects for this component when interactions occur.

#### Parameters

| | |
| --- | --- |
| interactionSource | `InteractionSource` that will be used by `indication` to draw visual effects - this `InteractionSource` represents the stream of `Interaction`s for this component. |
| indication | `Indication` used to draw visual effects. If `null`, no visual effects will be shown for this component. |