# text-align-center Icon

> The text-align-center 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: [Typography](https://composables.com/icons/categories/typography.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/text-align-center.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 RadixTextAlignCenter: ImageVector
    get() {
        if (_RadixTextAlignCenter != null) return _RadixTextAlignCenter!!
        
        _RadixTextAlignCenter = ImageVector.Builder(
            name = "text-align-center",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(11.5f, 10f)
                curveTo(11.7761f, 10f, 12f, 10.2239f, 12f, 10.5f)
                curveTo(12f, 10.7761f, 11.7761f, 11f, 11.5f, 11f)
                horizontalLineTo(3.5f)
                curveTo(3.22386f, 11f, 3f, 10.7761f, 3f, 10.5f)
                curveTo(3f, 10.2239f, 3.22386f, 10f, 3.5f, 10f)
                horizontalLineTo(11.5f)
                close()
                moveTo(10.5f, 7f)
                curveTo(10.7761f, 7f, 11f, 7.22386f, 11f, 7.5f)
                curveTo(11f, 7.77614f, 10.7761f, 8f, 10.5f, 8f)
                horizontalLineTo(4.5f)
                curveTo(4.22386f, 8f, 4f, 7.77614f, 4f, 7.5f)
                curveTo(4f, 7.22386f, 4.22386f, 7f, 4.5f, 7f)
                horizontalLineTo(10.5f)
                close()
                moveTo(12.5f, 4f)
                curveTo(12.7761f, 4f, 13f, 4.22386f, 13f, 4.5f)
                curveTo(13f, 4.77614f, 12.7761f, 5f, 12.5f, 5f)
                horizontalLineTo(2.5f)
                curveTo(2.22386f, 5f, 2f, 4.77614f, 2f, 4.5f)
                curveTo(2f, 4.22386f, 2.22386f, 4f, 2.5f, 4f)
                horizontalLineTo(12.5f)
                close()
            }
        }.build()
        
        return _RadixTextAlignCenter!!
    }

private var _RadixTextAlignCenter: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/text-align-center.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="M11.5,10C11.7761,10 12,10.2239 12,10.5C12,10.7761 11.7761,11 11.5,11H3.5C3.22386,11 3,10.7761 3,10.5C3,10.2239 3.22386,10 3.5,10H11.5ZM10.5,7C10.7761,7 11,7.22386 11,7.5C11,7.77614 10.7761,8 10.5,8H4.5C4.22386,8 4,7.77614 4,7.5C4,7.22386 4.22386,7 4.5,7H10.5ZM12.5,4C12.7761,4 13,4.22386 13,4.5C13,4.77614 12.7761,5 12.5,5H2.5C2.22386,5 2,4.77614 2,4.5C2,4.22386 2.22386,4 2.5,4H12.5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/radix/text-align-center.svg`

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.5 10C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5C3 10.2239 3.22386 10 3.5 10H11.5ZM10.5 7C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5C4 7.22386 4.22386 7 4.5 7H10.5ZM12.5 4C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5C2 4.22386 2.22386 4 2.5 4H12.5Z" fill="currentColor"/></svg>
```
