# badge Icon

> The badge 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: [Components](https://composables.com/icons/categories/components.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/badge.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 RadixBadge: ImageVector
    get() {
        if (_RadixBadge != null) return _RadixBadge!!
        
        _RadixBadge = ImageVector.Builder(
            name = "badge",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(11.7559f, 5.0127f)
                curveTo(13.0164f, 5.14082f, 14f, 6.20566f, 14f, 7.5f)
                curveTo(14f, 8.79434f, 13.0164f, 9.85918f, 11.7559f, 9.9873f)
                lineTo(11.5f, 10f)
                horizontalLineTo(3.5f)
                lineTo(3.24414f, 9.9873f)
                curveTo(1.98361f, 9.85918f, 1f, 8.79434f, 1f, 7.5f)
                curveTo(1f, 6.20566f, 1.98361f, 5.14082f, 3.24414f, 5.0127f)
                lineTo(3.5f, 5f)
                horizontalLineTo(11.5f)
                lineTo(11.7559f, 5.0127f)
                close()
                moveTo(3.5f, 6f)
                curveTo(2.67157f, 6f, 2f, 6.67157f, 2f, 7.5f)
                curveTo(2f, 8.32843f, 2.67157f, 9f, 3.5f, 9f)
                horizontalLineTo(11.5f)
                curveTo(12.3284f, 9f, 13f, 8.32843f, 13f, 7.5f)
                curveTo(13f, 6.67157f, 12.3284f, 6f, 11.5f, 6f)
                horizontalLineTo(3.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()
            }
        }.build()
        
        return _RadixBadge!!
    }

private var _RadixBadge: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/badge.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.7559,5.0127C13.0164,5.14082 14,6.20566 14,7.5C14,8.79434 13.0164,9.85918 11.7559,9.9873L11.5,10H3.5L3.24414,9.9873C1.98361,9.85918 1,8.79434 1,7.5C1,6.20566 1.98361,5.14082 3.24414,5.0127L3.5,5H11.5L11.7559,5.0127ZM3.5,6C2.67157,6 2,6.67157 2,7.5C2,8.32843 2.67157,9 3.5,9H11.5C12.3284,9 13,8.32843 13,7.5C13,6.67157 12.3284,6 11.5,6H3.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.5Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/radix/badge.svg`

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.7559 5.0127C13.0164 5.14082 14 6.20566 14 7.5C14 8.79434 13.0164 9.85918 11.7559 9.9873L11.5 10H3.5L3.24414 9.9873C1.98361 9.85918 1 8.79434 1 7.5C1 6.20566 1.98361 5.14082 3.24414 5.0127L3.5 5H11.5L11.7559 5.0127ZM3.5 6C2.67157 6 2 6.67157 2 7.5C2 8.32843 2.67157 9 3.5 9H11.5C12.3284 9 13 8.32843 13 7.5C13 6.67157 12.3284 6 11.5 6H3.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.5Z" fill="currentColor"/></svg>
```
