# file Icon

> The file icon from Radix as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Radix](https://composables.com/icons/icon-libraries/radix.md)
- License: MIT (full text in the [Radix library page](https://composables.com/icons/icon-libraries/radix.md))
- Categories: [Objects](https://composables.com/icons/categories/objects.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/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.path
import androidx.compose.ui.unit.dp

val RadixFile: ImageVector
    get() {
        if (_RadixFile != null) return _RadixFile!!
        
        _RadixFile = ImageVector.Builder(
            name = "file",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(8.59766f, 1.00977f)
                curveTo(8.69389f, 1.02894f, 8.78311f, 1.07608f, 8.85352f, 1.14648f)
                lineTo(12.8535f, 5.14648f)
                curveTo(12.9473f, 5.24025f, 13f, 5.36739f, 13f, 5.5f)
                verticalLineTo(12.5f)
                curveTo(13f, 13.3284f, 12.3284f, 14f, 11.5f, 14f)
                horizontalLineTo(3.5f)
                curveTo(2.67157f, 14f, 2f, 13.3284f, 2f, 12.5f)
                verticalLineTo(2.5f)
                curveTo(2f, 1.67157f, 2.67157f, 1f, 3.5f, 1f)
                horizontalLineTo(8.5f)
                lineTo(8.59766f, 1.00977f)
                close()
                moveTo(3.5f, 2f)
                curveTo(3.22386f, 2f, 3f, 2.22386f, 3f, 2.5f)
                verticalLineTo(12.5f)
                curveTo(3f, 12.7761f, 3.22386f, 13f, 3.5f, 13f)
                horizontalLineTo(11.5f)
                curveTo(11.7761f, 13f, 12f, 12.7761f, 12f, 12.5f)
                verticalLineTo(6f)
                horizontalLineTo(8.5f)
                curveTo(8.22386f, 6f, 8f, 5.77614f, 8f, 5.5f)
                verticalLineTo(2f)
                horizontalLineTo(3.5f)
                close()
                moveTo(9f, 5f)
                horizontalLineTo(11.293f)
                lineTo(9f, 2.70703f)
                verticalLineTo(5f)
                close()
            }
        }.build()
        
        return _RadixFile!!
    }

private var _RadixFile: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/file.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="15"
    android:viewportHeight="15">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M8.59766,1.00977C8.69389,1.02894 8.78311,1.07608 8.85352,1.14648L12.8535,5.14648C12.9473,5.24025 13,5.36739 13,5.5V12.5C13,13.3284 12.3284,14 11.5,14H3.5C2.67157,14 2,13.3284 2,12.5V2.5C2,1.67157 2.67157,1 3.5,1H8.5L8.59766,1.00977ZM3.5,2C3.22386,2 3,2.22386 3,2.5V12.5C3,12.7761 3.22386,13 3.5,13H11.5C11.7761,13 12,12.7761 12,12.5V6H8.5C8.22386,6 8,5.77614 8,5.5V2H3.5ZM9,5H11.293L9,2.70703V5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/radix/file.svg`

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.59766 1.00977C8.69389 1.02894 8.78311 1.07608 8.85352 1.14648L12.8535 5.14648C12.9473 5.24025 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5C2 1.67157 2.67157 1 3.5 1H8.5L8.59766 1.00977ZM3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 5H11.293L9 2.70703V5Z" fill="currentColor"/></svg>
```
