# audio_file Icon

> The audio_file 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/audio_file.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/audio_file.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/audio_file.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/audio_file.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/audio_file.md?v=twotone)
- Categories: [Av](https://composables.com/icons/categories/av.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/audio_file.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 MaterialIconsAudioFile: ImageVector
    get() {
        if (_MaterialIconsAudioFile != null) return _MaterialIconsAudioFile!!
        
        _MaterialIconsAudioFile = ImageVector.Builder(
            name = "audio_file",
            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 {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(14f, 2f)
                    horizontalLineTo(6f)
                    curveTo(4.9f, 2f, 4f, 2.9f, 4f, 4f)
                    verticalLineToRelative(16f)
                    curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                    horizontalLineToRelative(12f)
                    curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                    verticalLineTo(8f)
                    lineTo(14f, 2f)
                    close()
                    moveTo(6f, 20f)
                    verticalLineTo(4f)
                    horizontalLineToRelative(7f)
                    verticalLineToRelative(5f)
                    horizontalLineToRelative(5f)
                    verticalLineToRelative(11f)
                    horizontalLineTo(6f)
                    close()
                    moveTo(16f, 11f)
                    horizontalLineToRelative(-4f)
                    verticalLineToRelative(3.88f)
                    curveToRelative(-0.36f, -0.24f, -0.79f, -0.38f, -1.25f, -0.38f)
                    curveToRelative(-1.24f, 0f, -2.25f, 1.01f, -2.25f, 2.25f)
                    curveToRelative(0f, 1.24f, 1.01f, 2.25f, 2.25f, 2.25f)
                    reflectiveCurveTo(13f, 17.99f, 13f, 16.75f)
                    verticalLineTo(13f)
                    horizontalLineToRelative(3f)
                    verticalLineTo(11f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsAudioFile!!
    }

private var _MaterialIconsAudioFile: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/audio_file.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,2H6C4.9,2 4,2.9 4,4v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V8L14,2ZM6,20V4h7v5h5v11H6ZM16,11h-4v3.88c-0.36,-0.24 -0.79,-0.38 -1.25,-0.38c-1.24,0 -2.25,1.01 -2.25,2.25c0,1.24 1.01,2.25 2.25,2.25S13,17.99 13,16.75V13h3V11Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/audio_file.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><path d="M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8L14,2z M6,20V4h7v5h5v11H6z M16,11h-4v3.88 c-0.36-0.24-0.79-0.38-1.25-0.38c-1.24,0-2.25,1.01-2.25,2.25c0,1.24,1.01,2.25,2.25,2.25S13,17.99,13,16.75V13h3V11z"/></g></svg>
```
