# swipe Icon

> The swipe 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/swipe.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/swipe.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/swipe.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/swipe.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/swipe.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/swipe.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 MaterialIconsSwipe: ImageVector
    get() {
        if (_MaterialIconsSwipe != null) return _MaterialIconsSwipe!!
        
        _MaterialIconsSwipe = ImageVector.Builder(
            name = "swipe",
            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(20.5f, 2f)
                        verticalLineToRelative(2.02f)
                        curveTo(18.18f, 2.13f, 15.22f, 1f, 12f, 1f)
                        reflectiveCurveTo(5.82f, 2.13f, 3.5f, 4.02f)
                        verticalLineTo(2f)
                        horizontalLineTo(2f)
                        verticalLineToRelative(3.5f)
                        verticalLineTo(7f)
                        horizontalLineToRelative(1.5f)
                        horizontalLineTo(7f)
                        verticalLineTo(5.5f)
                        horizontalLineTo(4.09f)
                        curveToRelative(2.11f, -1.86f, 4.88f, -3f, 7.91f, -3f)
                        reflectiveCurveToRelative(5.79f, 1.14f, 7.91f, 3f)
                        horizontalLineTo(17f)
                        verticalLineTo(7f)
                        horizontalLineToRelative(3.5f)
                        horizontalLineTo(22f)
                        verticalLineTo(5.5f)
                        verticalLineTo(2f)
                        horizontalLineTo(20.5f)
                        close()
                    }
                    group {
                        path(
                            fill = SolidColor(Color.Black)
                        ) {
                            moveTo(18.89f, 13.77f)
                            lineToRelative(-3.8f, -1.67f)
                            curveTo(14.96f, 12.04f, 14.81f, 12f, 14.65f, 12f)
                            horizontalLineTo(14f)
                            lineToRelative(0f, -4.37f)
                            curveToRelative(0f, -1.32f, -0.96f, -2.5f, -2.27f, -2.62f)
                            curveTo(10.25f, 4.88f, 9f, 6.05f, 9f, 7.5f)
                            verticalLineToRelative(8.15f)
                            lineToRelative(-1.87f, -0.4f)
                            curveToRelative(-0.19f, -0.03f, -1.02f, -0.15f, -1.73f, 0.56f)
                            lineTo(4f, 17.22f)
                            lineToRelative(5.12f, 5.19f)
                            curveTo(9.49f, 22.79f, 10f, 23f, 10.53f, 23f)
                            horizontalLineToRelative(6.55f)
                            curveToRelative(0.98f, 0f, 1.81f, -0.7f, 1.97f, -1.67f)
                            lineToRelative(0.92f, -5.44f)
                            curveTo(20.12f, 15.03f, 19.68f, 14.17f, 18.89f, 13.77f)
                            close()
                            moveTo(18f, 15.56f)
                            lineTo(17.08f, 21f)
                            horizontalLineToRelative(-6.55f)
                            lineToRelative(-3.7f, -3.78f)
                            lineTo(11f, 18.11f)
                            verticalLineTo(7.5f)
                            curveTo(11f, 7.22f, 11.22f, 7f, 11.5f, 7f)
                            reflectiveCurveTo(12f, 7.22f, 12f, 7.5f)
                            verticalLineToRelative(6.18f)
                            horizontalLineToRelative(1.76f)
                            lineTo(18f, 15.56f)
                            close()
                        }
                    }
                }
            }
        }.build()
        
        return _MaterialIconsSwipe!!
    }

private var _MaterialIconsSwipe: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/swipe.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="M20.5,2v2.02C18.18,2.13 15.22,1 12,1S5.82,2.13 3.5,4.02V2H2v3.5V7h1.5H7V5.5H4.09c2.11,-1.86 4.88,-3 7.91,-3s5.79,1.14 7.91,3H17V7h3.5H22V5.5V2H20.5Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M18.89,13.77l-3.8,-1.67C14.96,12.04 14.81,12 14.65,12H14l0,-4.37c0,-1.32 -0.96,-2.5 -2.27,-2.62C10.25,4.88 9,6.05 9,7.5v8.15l-1.87,-0.4c-0.19,-0.03 -1.02,-0.15 -1.73,0.56L4,17.22l5.12,5.19C9.49,22.79 10,23 10.53,23h6.55c0.98,0 1.81,-0.7 1.97,-1.67l0.92,-5.44C20.12,15.03 19.68,14.17 18.89,13.77ZM18,15.56L17.08,21h-6.55l-3.7,-3.78L11,18.11V7.5C11,7.22 11.22,7 11.5,7S12,7.22 12,7.5v6.18h1.76L18,15.56Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/swipe.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" x="0"/></g><g><g><path d="M20.5,2v2.02C18.18,2.13,15.22,1,12,1S5.82,2.13,3.5,4.02V2H2v3.5V7h1.5H7V5.5H4.09c2.11-1.86,4.88-3,7.91-3 s5.79,1.14,7.91,3H17V7h3.5H22V5.5V2H20.5z"/><g><path d="M18.89,13.77l-3.8-1.67C14.96,12.04,14.81,12,14.65,12H14l0-4.37c0-1.32-0.96-2.5-2.27-2.62C10.25,4.88,9,6.05,9,7.5 v8.15l-1.87-0.4c-0.19-0.03-1.02-0.15-1.73,0.56L4,17.22l5.12,5.19C9.49,22.79,10,23,10.53,23h6.55c0.98,0,1.81-0.7,1.97-1.67 l0.92-5.44C20.12,15.03,19.68,14.17,18.89,13.77z M18,15.56L17.08,21h-6.55l-3.7-3.78L11,18.11V7.5C11,7.22,11.22,7,11.5,7 S12,7.22,12,7.5v6.18h1.76L18,15.56z"/></g></g></g></svg>
```
