# update Icon

> The update icon from Material as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/update.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/update.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/update.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/update.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/update.md?v=twotone)
- Categories: [Action](https://composables.com/icons/categories/action.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/update.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsUpdate: ImageVector
    get() {
        if (_MaterialIconsUpdate != null) return _MaterialIconsUpdate!!
        
        _MaterialIconsUpdate = ImageVector.Builder(
            name = "update",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineTo(24f)
                    verticalLineTo(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(11f, 8f)
                        verticalLineToRelative(5f)
                        lineToRelative(4.25f, 2.52f)
                        lineToRelative(0.77f, -1.28f)
                        lineToRelative(-3.52f, -2.09f)
                        verticalLineTo(8f)
                        horizontalLineTo(11f)
                        close()
                        moveTo(21f, 10f)
                        verticalLineTo(3f)
                        lineToRelative(-2.64f, 2.64f)
                        curveTo(16.74f, 4.01f, 14.49f, 3f, 12f, 3f)
                        curveToRelative(-4.97f, 0f, -9f, 4.03f, -9f, 9f)
                        reflectiveCurveToRelative(4.03f, 9f, 9f, 9f)
                        reflectiveCurveToRelative(9f, -4.03f, 9f, -9f)
                        horizontalLineToRelative(-2f)
                        curveToRelative(0f, 3.86f, -3.14f, 7f, -7f, 7f)
                        reflectiveCurveToRelative(-7f, -3.14f, -7f, -7f)
                        reflectiveCurveToRelative(3.14f, -7f, 7f, -7f)
                        curveToRelative(1.93f, 0f, 3.68f, 0.79f, 4.95f, 2.05f)
                        lineTo(14f, 10f)
                        horizontalLineTo(21f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsUpdate!!
    }

private var _MaterialIconsUpdate: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/update.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0H24V24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M11,8v5l4.25,2.52l0.77,-1.28l-3.52,-2.09V8H11ZM21,10V3l-2.64,2.64C16.74,4.01 14.49,3 12,3c-4.97,0 -9,4.03 -9,9s4.03,9 9,9s9,-4.03 9,-9h-2c0,3.86 -3.14,7 -7,7s-7,-3.14 -7,-7s3.14,-7 7,-7c1.93,0 3.68,0.79 4.95,2.05L14,10H21Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/update.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M11,8v5l4.25,2.52l0.77-1.28l-3.52-2.09V8H11z M21,10V3l-2.64,2.64C16.74,4.01,14.49,3,12,3c-4.97,0-9,4.03-9,9 s4.03,9,9,9s9-4.03,9-9h-2c0,3.86-3.14,7-7,7s-7-3.14-7-7s3.14-7,7-7c1.93,0,3.68,0.79,4.95,2.05L14,10H21z"/></g></g></svg>
```
