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

```kotlin
interface NavigationSuiteScaffoldState
```

A state object that can be hoisted to observe the navigation suite scaffold state. It allows for
setting its navigation component to be hidden or displayed.

## Properties

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

```kotlin
val isAnimating: Boolean
```

Whether the state is currently animating.

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

```kotlin
val targetValue: NavigationSuiteScaffoldValue
```

Whether the navigation component is going to be shown or hidden.

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

```kotlin
val currentValue: NavigationSuiteScaffoldValue
```

Whether the navigation component is currently shown or hidden.

## Functions

<h2 id="hide">hide</h2>

```kotlin
suspend fun hide()
```

Hide the navigation component with animation and suspend until it fully expands.

<hr class="docs-overload-divider">

<h2 id="show">show</h2>

```kotlin
suspend fun show()
```

Show the navigation component with animation and suspend until it fully expands.

<hr class="docs-overload-divider">

<h2 id="toggle">toggle</h2>

```kotlin
suspend fun toggle()
```

Hide the navigation component with animation if it's shown, or collapse it otherwise, and
suspend until it fully expands.

<hr class="docs-overload-divider">

<h2 id="snapto-targetvalue">snapTo</h2>

```kotlin
suspend fun snapTo(targetValue: NavigationSuiteScaffoldValue)
```

Set the state without any animation and suspend until it's set.

#### Parameters

| | |
| --- | --- |
| targetValue | the value to set to |