---
title: "SnackbarData"
description: "Interface to represent the data of one particular [Snackbar] as a piece of the
[SnackbarHostState]."
type: "interface"
---

<div class='type'>Interface</div>


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

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



```kotlin
interface SnackbarData
```


Interface to represent the data of one particular `Snackbar` as a piece of the
`SnackbarHostState`.


## Properties

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


```kotlin
val visuals: SnackbarVisuals
```


## Functions

```kotlin
fun performAction()
```


Function to be called when Snackbar action has been performed to notify the listeners.


```kotlin
fun dismiss()
```


Function to be called when Snackbar is dismissed either by timeout or by the user.



