# chart-bar-square Icon

> The chart-bar-square icon from Heroicons as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Heroicons](https://composables.com/icons/icon-libraries/heroicons.md)
- License: MIT (full text in the [Heroicons library page](https://composables.com/icons/icon-libraries/heroicons.md))
- Styles: [Outline](https://composables.com/icons/icon-libraries/heroicons/chart-bar-square.md?v=outline), [Solid](https://composables.com/icons/icon-libraries/heroicons/chart-bar-square.md?v=solid), [Mini](https://composables.com/icons/icon-libraries/heroicons/chart-bar-square.md?v=mini), [Micro](https://composables.com/icons/icon-libraries/heroicons/chart-bar-square.md?v=micro)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/chart-bar-square.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val HeroiconsChartBarSquare: ImageVector
    get() {
        if (_HeroiconsChartBarSquare != null) return _HeroiconsChartBarSquare!!
        
        _HeroiconsChartBarSquare = ImageVector.Builder(
            name = "chart-bar-square",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 1.5f,
                strokeLineJoin = StrokeJoin.Miter
            ) {
                moveTo(7.5f, 14.25f)
                verticalLineToRelative(2.25f)
                moveToRelative(3f, -4.5f)
                verticalLineToRelative(4.5f)
                moveToRelative(3f, -6.75f)
                verticalLineToRelative(6.75f)
                moveToRelative(3f, -9f)
                verticalLineToRelative(9f)
                moveTo(6f, 20.25f)
                horizontalLineToRelative(12f)
                arcTo(2.25f, 2.25f, 0f, false, false, 20.25f, 18f)
                verticalLineTo(6f)
                arcTo(2.25f, 2.25f, 0f, false, false, 18f, 3.75f)
                horizontalLineTo(6f)
                arcTo(2.25f, 2.25f, 0f, false, false, 3.75f, 6f)
                verticalLineToRelative(12f)
                arcTo(2.25f, 2.25f, 0f, false, false, 6f, 20.25f)
                close()
            }
        }.build()
        
        return _HeroiconsChartBarSquare!!
    }

private var _HeroiconsChartBarSquare: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/chart-bar-square.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:strokeColor="@android:color/black"
        android:strokeWidth="1.5"
        android:pathData="M7.5,14.25v2.25m3,-4.5v4.5m3,-6.75v6.75m3,-9v9M6,20.25h12A2.25,2.25 0 0,0 20.25,18V6A2.25,2.25 0 0,0 18,3.75H6A2.25,2.25 0 0,0 3.75,6v12A2.25,2.25 0 0,0 6,20.25Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/chart-bar-square.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon"><path stroke-linecap="round" stroke-linejoin="round" d="M7.5 14.25v2.25m3-4.5v4.5m3-6.75v6.75m3-9v9M6 20.25h12A2.25 2.25 0 0 0 20.25 18V6A2.25 2.25 0 0 0 18 3.75H6A2.25 2.25 0 0 0 3.75 6v12A2.25 2.25 0 0 0 6 20.25Z"/></svg>
```
