# file_present Icon

> The file_present 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/file_present.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/file_present.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/file_present.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/file_present.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/file_present.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/file_present.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 MaterialIconsFilePresent: ImageVector
    get() {
        if (_MaterialIconsFilePresent != null) return _MaterialIconsFilePresent!!
        
        _MaterialIconsFilePresent = ImageVector.Builder(
            name = "file_present",
            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(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(18f, 20f)
                    horizontalLineTo(6f)
                    verticalLineTo(4f)
                    horizontalLineToRelative(8f)
                    verticalLineToRelative(4f)
                    horizontalLineToRelative(4f)
                    verticalLineTo(20f)
                    close()
                    moveTo(12f, 17f)
                    lineTo(12f, 17f)
                    curveToRelative(-1.1f, 0f, -2f, -0.9f, -2f, -2f)
                    lineToRelative(0f, -5.5f)
                    curveTo(10f, 9.22f, 10.22f, 9f, 10.5f, 9f)
                    horizontalLineToRelative(0f)
                    curveTo(10.78f, 9f, 11f, 9.22f, 11f, 9.5f)
                    verticalLineTo(15f)
                    horizontalLineToRelative(2f)
                    verticalLineTo(9.5f)
                    curveTo(13f, 8.12f, 11.88f, 7f, 10.5f, 7f)
                    horizontalLineToRelative(0f)
                    curveTo(9.12f, 7f, 8f, 8.12f, 8f, 9.5f)
                    lineTo(8f, 15f)
                    curveToRelative(0f, 2.21f, 1.79f, 4f, 4f, 4f)
                    horizontalLineToRelative(0f)
                    curveToRelative(2.21f, 0f, 4f, -1.79f, 4f, -4f)
                    verticalLineToRelative(-4f)
                    horizontalLineToRelative(-2f)
                    verticalLineToRelative(4f)
                    curveTo(14f, 16.1f, 13.1f, 17f, 12f, 17f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsFilePresent!!
    }

private var _MaterialIconsFilePresent: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/file_present.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="M14,2H6C4.9,2 4,2.9 4,4v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V8L14,2ZM18,20H6V4h8v4h4V20ZM12,17L12,17c-1.1,0 -2,-0.9 -2,-2l0,-5.5C10,9.22 10.22,9 10.5,9h0C10.78,9 11,9.22 11,9.5V15h2V9.5C13,8.12 11.88,7 10.5,7h0C9.12,7 8,8.12 8,9.5L8,15c0,2.21 1.79,4 4,4h0c2.21,0 4,-1.79 4,-4v-4h-2v4C14,16.1 13.1,17 12,17Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/file_present.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="M14,2H6C4.9,2,4,2.9,4,4v16c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V8L14,2z M18,20H6V4h8v4h4V20z M12,17L12,17 c-1.1,0-2-0.9-2-2l0-5.5C10,9.22,10.22,9,10.5,9h0C10.78,9,11,9.22,11,9.5V15h2V9.5C13,8.12,11.88,7,10.5,7h0C9.12,7,8,8.12,8,9.5 L8,15c0,2.21,1.79,4,4,4h0c2.21,0,4-1.79,4-4v-4h-2v4C14,16.1,13.1,17,12,17z"/></g></svg>
```
