# bookmark-square Icon

> The bookmark-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/bookmark-square.md?v=outline), [Solid](https://composables.com/icons/icon-libraries/heroicons/bookmark-square.md?v=solid), [Mini](https://composables.com/icons/icon-libraries/heroicons/bookmark-square.md?v=mini), [Micro](https://composables.com/icons/icon-libraries/heroicons/bookmark-square.md?v=micro)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/heroicons/bookmark-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 HeroiconsBookmarkSquare: ImageVector
    get() {
        if (_HeroiconsBookmarkSquare != null) return _HeroiconsBookmarkSquare!!
        
        _HeroiconsBookmarkSquare = ImageVector.Builder(
            name = "bookmark-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(16.5f, 3.75f)
                verticalLineTo(16.5f)
                lineTo(12f, 14.25f)
                lineTo(7.5f, 16.5f)
                verticalLineTo(3.75f)
                moveToRelative(9f, 0f)
                horizontalLineTo(18f)
                arcTo(2.25f, 2.25f, 0f, false, true, 20.25f, 6f)
                verticalLineToRelative(12f)
                arcTo(2.25f, 2.25f, 0f, false, true, 18f, 20.25f)
                horizontalLineTo(6f)
                arcTo(2.25f, 2.25f, 0f, false, true, 3.75f, 18f)
                verticalLineTo(6f)
                arcTo(2.25f, 2.25f, 0f, false, true, 6f, 3.75f)
                horizontalLineToRelative(1.5f)
                moveToRelative(9f, 0f)
                horizontalLineToRelative(-9f)
            }
        }.build()
        
        return _HeroiconsBookmarkSquare!!
    }

private var _HeroiconsBookmarkSquare: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/heroicons/bookmark-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="M16.5,3.75V16.5L12,14.25L7.5,16.5V3.75m9,0H18A2.25,2.25 0 0,1 20.25,6v12A2.25,2.25 0 0,1 18,20.25H6A2.25,2.25 0 0,1 3.75,18V6A2.25,2.25 0 0,1 6,3.75h1.5m9,0h-9" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/heroicons/bookmark-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="M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0 1 20.25 6v12A2.25 2.25 0 0 1 18 20.25H6A2.25 2.25 0 0 1 3.75 18V6A2.25 2.25 0 0 1 6 3.75h1.5m9 0h-9"/></svg>
```
