# compress Icon

> The compress 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/compress.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/compress.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/compress.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/compress.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/compress.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/compress.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 MaterialIconsCompress: ImageVector
    get() {
        if (_MaterialIconsCompress != null) return _MaterialIconsCompress!!
        
        _MaterialIconsCompress = ImageVector.Builder(
            name = "compress",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineToRelative(24f)
                    verticalLineToRelative(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(4f, 9f)
                    verticalLineToRelative(2f)
                    horizontalLineToRelative(16f)
                    verticalLineTo(9f)
                    horizontalLineTo(4f)
                    close()
                    moveTo(16f, 4f)
                    lineToRelative(-1.41f, -1.41f)
                    lineTo(13f, 4.17f)
                    verticalLineTo(1f)
                    horizontalLineToRelative(-2f)
                    verticalLineToRelative(3.19f)
                    lineTo(9.39f, 2.61f)
                    lineTo(8f, 4f)
                    lineToRelative(4f, 4f)
                    lineTo(16f, 4f)
                    close()
                    moveTo(4f, 14f)
                    horizontalLineToRelative(16f)
                    verticalLineToRelative(-2f)
                    horizontalLineTo(4f)
                    verticalLineTo(14f)
                    close()
                    moveTo(8f, 19f)
                    lineToRelative(1.39f, 1.39f)
                    lineTo(11f, 18.81f)
                    verticalLineTo(22f)
                    horizontalLineToRelative(2f)
                    verticalLineToRelative(-3.17f)
                    lineToRelative(1.59f, 1.59f)
                    lineTo(16f, 19f)
                    lineToRelative(-4f, -4f)
                    lineTo(8f, 19f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsCompress!!
    }

private var _MaterialIconsCompress: ImageVector? = null
```

## Android Vector Drawable (XML)

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

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M4,9v2h16V9H4ZM16,4l-1.41,-1.41L13,4.17V1h-2v3.19L9.39,2.61L8,4l4,4L16,4ZM4,14h16v-2H4V14ZM8,19l1.39,1.39L11,18.81V22h2v-3.17l1.59,1.59L16,19l-4,-4L8,19Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/compress.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><path d="M0,0h24v24H0V0z" fill="none"/></g><g><path d="M4,9v2h16V9H4z M16,4l-1.41-1.41L13,4.17V1h-2v3.19L9.39,2.61L8,4l4,4L16,4z M4,14h16v-2H4V14z M8,19l1.39,1.39L11,18.81 V22h2v-3.17l1.59,1.59L16,19l-4-4L8,19z"/></g></svg>
```
