# api Icon

> The api 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/api.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/api.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/api.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/api.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/api.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/api.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 MaterialIconsApi: ImageVector
    get() {
        if (_MaterialIconsApi != null) return _MaterialIconsApi!!
        
        _MaterialIconsApi = ImageVector.Builder(
            name = "api",
            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()
                }
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(14f, 12f)
                    lineToRelative(-2f, 2f)
                    lineToRelative(-2f, -2f)
                    lineToRelative(2f, -2f)
                    lineTo(14f, 12f)
                    close()
                    moveTo(12f, 6f)
                    lineToRelative(2.12f, 2.12f)
                    lineToRelative(2.5f, -2.5f)
                    lineTo(12f, 1f)
                    lineTo(7.38f, 5.62f)
                    lineToRelative(2.5f, 2.5f)
                    lineTo(12f, 6f)
                    close()
                    moveTo(6f, 12f)
                    lineToRelative(2.12f, -2.12f)
                    lineToRelative(-2.5f, -2.5f)
                    lineTo(1f, 12f)
                    lineToRelative(4.62f, 4.62f)
                    lineToRelative(2.5f, -2.5f)
                    lineTo(6f, 12f)
                    close()
                    moveTo(18f, 12f)
                    lineToRelative(-2.12f, 2.12f)
                    lineToRelative(2.5f, 2.5f)
                    lineTo(23f, 12f)
                    lineToRelative(-4.62f, -4.62f)
                    lineToRelative(-2.5f, 2.5f)
                    lineTo(18f, 12f)
                    close()
                    moveTo(12f, 18f)
                    lineToRelative(-2.12f, -2.12f)
                    lineToRelative(-2.5f, 2.5f)
                    lineTo(12f, 23f)
                    lineToRelative(4.62f, -4.62f)
                    lineToRelative(-2.5f, -2.5f)
                    lineTo(12f, 18f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsApi!!
    }

private var _MaterialIconsApi: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/api.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="M14,12l-2,2l-2,-2l2,-2L14,12ZM12,6l2.12,2.12l2.5,-2.5L12,1L7.38,5.62l2.5,2.5L12,6ZM6,12l2.12,-2.12l-2.5,-2.5L1,12l4.62,4.62l2.5,-2.5L6,12ZM18,12l-2.12,2.12l2.5,2.5L23,12l-4.62,-4.62l-2.5,2.5L18,12ZM12,18l-2.12,-2.12l-2.5,2.5L12,23l4.62,-4.62l-2.5,-2.5L12,18Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/api.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"/><path d="M14,12l-2,2l-2-2l2-2L14,12z M12,6l2.12,2.12l2.5-2.5L12,1L7.38,5.62l2.5,2.5L12,6z M6,12l2.12-2.12l-2.5-2.5L1,12 l4.62,4.62l2.5-2.5L6,12z M18,12l-2.12,2.12l2.5,2.5L23,12l-4.62-4.62l-2.5,2.5L18,12z M12,18l-2.12-2.12l-2.5,2.5L12,23l4.62-4.62 l-2.5-2.5L12,18z"/></g></svg>
```
