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


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


<h2 id="mutableintstateof-value">mutableIntStateOf</h2>

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


```kotlin
@StateFactoryMarker
public fun mutableIntStateOf(value: Int): MutableIntState
```


Return a new `MutableIntState` initialized with the passed in `value`

The MutableIntState class is a single value holder whose reads and writes are observed by
Compose. Additionally, writes to it are transacted as part of the `Snapshot` system. On the JVM,
values are stored in memory as the primitive `int` type, avoiding the autoboxing that occurs when
using `MutableState<Int>`.

#### Parameters

| | |
| --- | --- |
| value | the initial value for the `MutableIntState` |