# text_format Icon

> The text_format 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_format.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-symbols/text_format.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-symbols/text_format.md?v=sharp), [Outlined Filled](https://composables.com/icons/icon-libraries/material-symbols/text_format.md?v=outlined-filled), [Rounded Filled](https://composables.com/icons/icon-libraries/material-symbols/text_format.md?v=rounded-filled), [Sharp Filled](https://composables.com/icons/icon-libraries/material-symbols/text_format.md?v=sharp-filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-symbols/text_format.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 MaterialSymbolsTextFormat: ImageVector
    get() {
        if (_MaterialSymbolsTextFormat != null) return _MaterialSymbolsTextFormat!!
        
        _MaterialSymbolsTextFormat = ImageVector.Builder(
            name = "text_format",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 960f,
            viewportHeight = 960f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(200f, 760f)
                verticalLineToRelative(-80f)
                horizontalLineToRelative(560f)
                verticalLineToRelative(80f)
                horizontalLineTo(200f)
                close()
                moveToRelative(76f, -160f)
                lineToRelative(164f, -440f)
                horizontalLineToRelative(80f)
                lineToRelative(164f, 440f)
                horizontalLineToRelative(-76f)
                lineToRelative(-38f, -112f)
                horizontalLineTo(392f)
                lineToRelative(-40f, 112f)
                horizontalLineToRelative(-76f)
                close()
                moveToRelative(138f, -176f)
                horizontalLineToRelative(132f)
                lineToRelative(-64f, -182f)
                horizontalLineToRelative(-4f)
                lineToRelative(-64f, 182f)
                close()
            }
        }.build()
        
        return _MaterialSymbolsTextFormat!!
    }

private var _MaterialSymbolsTextFormat: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-symbols/text_format.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="M200,760v-80h560v80H200Zm76,-160l164,-440h80l164,440h-76l-38,-112H392l-40,112h-76Zm138,-176h132l-64,-182h-4l-64,182Z" />
</vector>
```

## SVG

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

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="currentColor"><path d="M200-200v-80h560v80H200Zm76-160 164-440h80l164 440h-76l-38-112H392l-40 112h-76Zm138-176h132l-64-182h-4l-64 182Z"/></svg>
```
