# text_fields Icon

> The text_fields icon from Material Symbols as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Material Symbols](https://composables.com/icons/icon-libraries/material-symbols.md)
- License: Apache 2.0 (full text in the [Material Symbols library page](https://composables.com/icons/icon-libraries/material-symbols.md))
- Styles: [Outlined](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/text_fields.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/text_fields.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 MaterialSymbolsTextFields: ImageVector
    get() {
        if (_MaterialSymbolsTextFields != null) return _MaterialSymbolsTextFields!!
        
        _MaterialSymbolsTextFields = ImageVector.Builder(
            name = "text_fields",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(280f, 800f)
                verticalLineToRelative(-520f)
                horizontalLineTo(80f)
                verticalLineToRelative(-120f)
                horizontalLineToRelative(520f)
                verticalLineToRelative(120f)
                horizontalLineTo(400f)
                verticalLineToRelative(520f)
                horizontalLineTo(280f)
                close()
                moveToRelative(360f, 0f)
                verticalLineToRelative(-320f)
                horizontalLineTo(520f)
                verticalLineToRelative(-120f)
                horizontalLineToRelative(360f)
                verticalLineToRelative(120f)
                horizontalLineTo(760f)
                verticalLineToRelative(320f)
                horizontalLineTo(640f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsTextFields!!
    }

private var _MaterialSymbolsTextFields: ImageVector? = null
```

## Android Vector Drawable (XML)

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

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="960"
    android:viewportHeight="960">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M280,800v-520H80v-120h520v120H400v520H280Zm360,0v-320H520v-120h360v120H760v320H640Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-symbols/text_fields.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M280-160v-520H80v-120h520v120H400v520H280Zm360 0v-320H520v-120h360v120H760v320H640Z"/></svg>
```
