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


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



<h2 id="integerresource-id">integerResource</h2>

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


```kotlin
@Composable
@ReadOnlyComposable
fun integerResource(@IntegerRes id: Int): Int
```


Load an integer resource.

#### Parameters

| | |
| --- | --- |
| id | the resource identifier |


#### Returns

| | |
| --- | --- |
|  | the integer associated with the resource |