# undo Icon

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

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/undo.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/undo.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.path
import androidx.compose.ui.unit.dp

val MaterialSymbolsUndo: ImageVector
    get() {
        if (_MaterialSymbolsUndo != null) return _MaterialSymbolsUndo!!
        
        _MaterialSymbolsUndo = ImageVector.Builder(
            name = "undo",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 760f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(284f)
                quadToRelative(63f, 0f, 109.5f, -40f)
                reflectiveQuadTo(720f, 540f)
                quadToRelative(0f, -60f, -46.5f, -100f)
                reflectiveQuadTo(564f, 400f)
                horizontalLineTo(312f)
                lineToRelative(104f, 104f)
                lineToRelative(-56f, 56f)
                lineToRelative(-200f, -200f)
                lineToRelative(200f, -200f)
                lineToRelative(56f, 56f)
                lineToRelative(-104f, 104f)
                horizontalLineToRelative(252f)
                quadToRelative(97f, 0f, 166.5f, 63f)
                reflectiveQuadTo(800f, 540f)
                quadToRelative(0f, 94f, -69.5f, 157f)
                reflectiveQuadTo(564f, 760f)
                horizontalLineTo(280f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsUndo!!
    }

private var _MaterialSymbolsUndo: ImageVector? = null
```

## Android Vector Drawable (XML)

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

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M280,760v-80h284q63,0 109.5,-40T720,540q0,-60 -46.5,-100T564,400H312l104,104l-56,56l-200,-200l200,-200l56,56l-104,104h252q97,0 166.5,63T800,540q0,94 -69.5,157T564,760H280Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-200v-80h284q63 0 109.5-40T720-420q0-60-46.5-100T564-560H312l104 104-56 56-200-200 200-200 56 56-104 104h252q97 0 166.5 63T800-420q0 94-69.5 157T564-200H280Z"/></svg>
```
