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


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



<h2 id="animatedvectorresource">animatedVectorResource</h2>

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


```kotlin
@Composable
public fun AnimatedImageVector.Companion.animatedVectorResource(
    @DrawableRes id: Int
): AnimatedImageVector
```


Load an `AnimatedImageVector` from an Android resource id.

#### Parameters

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


#### Returns

| | |
| --- | --- |
|  | an animated vector drawable resource. |