# arrow-up-square Icon

> The arrow-up-square icon from Bootstrap as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Bootstrap](https://composables.com/icons/icon-libraries/bootstrap.md)
- License: MIT (full text in the [Bootstrap library page](https://composables.com/icons/icon-libraries/bootstrap.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/bootstrap/arrow-up-square.md?v=fill), [Outline](https://composables.com/icons/icon-libraries/bootstrap/arrow-up-square.md?v=outline)
- Categories: [Shape-arrows](https://composables.com/icons/categories/shape-arrows.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/bootstrap/arrow-up-square.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 BootstrapArrowUpSquare: ImageVector
    get() {
        if (_BootstrapArrowUpSquare != null) return _BootstrapArrowUpSquare!!
        
        _BootstrapArrowUpSquare = ImageVector.Builder(
            name = "arrow-up-square",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 16f,
            viewportHeight = 16f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(15f, 2f)
                arcToRelative(1f, 1f, 0f, false, false, -1f, -1f)
                horizontalLineTo(2f)
                arcToRelative(1f, 1f, 0f, false, false, -1f, 1f)
                verticalLineToRelative(12f)
                arcToRelative(1f, 1f, 0f, false, false, 1f, 1f)
                horizontalLineToRelative(12f)
                arcToRelative(1f, 1f, 0f, false, false, 1f, -1f)
                close()
                moveTo(0f, 2f)
                arcToRelative(2f, 2f, 0f, false, true, 2f, -2f)
                horizontalLineToRelative(12f)
                arcToRelative(2f, 2f, 0f, false, true, 2f, 2f)
                verticalLineToRelative(12f)
                arcToRelative(2f, 2f, 0f, false, true, -2f, 2f)
                horizontalLineTo(2f)
                arcToRelative(2f, 2f, 0f, false, true, -2f, -2f)
                close()
                moveToRelative(8.5f, 9.5f)
                arcToRelative(0.5f, 0.5f, 0f, false, true, -1f, 0f)
                verticalLineTo(5.707f)
                lineTo(5.354f, 7.854f)
                arcToRelative(0.5f, 0.5f, 0f, true, true, -0.708f, -0.708f)
                lineToRelative(3f, -3f)
                arcToRelative(0.5f, 0.5f, 0f, false, true, 0.708f, 0f)
                lineToRelative(3f, 3f)
                arcToRelative(0.5f, 0.5f, 0f, false, true, -0.708f, 0.708f)
                lineTo(8.5f, 5.707f)
                close()
            }
        }.build()
        
        return _BootstrapArrowUpSquare!!
    }

private var _BootstrapArrowUpSquare: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/bootstrap/arrow-up-square.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="16"
    android:viewportHeight="16">
    <path
        android:fillColor="@android:color/black"
        android:pathData="M15,2a1,1 0 0,0 -1,-1H2a1,1 0 0,0 -1,1v12a1,1 0 0,0 1,1h12a1,1 0 0,0 1,-1ZM0,2a2,2 0 0,1 2,-2h12a2,2 0 0,1 2,2v12a2,2 0 0,1 -2,2H2a2,2 0 0,1 -2,-2Zm8.5,9.5a0.5,0.5 0 0,1 -1,0V5.707L5.354,7.854a0.5,0.5 0 1,1 -0.708,-0.708l3,-3a0.5,0.5 0 0,1 0.708,0l3,3a0.5,0.5 0 0,1 -0.708,0.708L8.5,5.707Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/bootstrap/arrow-up-square.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-arrow-up-square" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm8.5 9.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"/></svg>
```
