# guitar Icon

> The guitar icon from Lucide as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Lucide](https://composables.com/icons/icon-libraries/lucide.md)
- License: ISC (full text in the [Lucide library page](https://composables.com/icons/icon-libraries/lucide.md))
- Categories: [Multimedia](https://composables.com/icons/categories/multimedia.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/lucide/guitar.kt`

```kotlin
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
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 LucideGuitar: ImageVector
    get() {
        if (_LucideGuitar != null) return _LucideGuitar!!
        
        _LucideGuitar = ImageVector.Builder(
            name = "guitar",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(11.9f, 12.1f)
                lineToRelative(4.514f, -4.514f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(20.1f, 2.3f)
                arcToRelative(1f, 1f, 0f, false, false, -1.4f, 0f)
                lineToRelative(-1.114f, 1.114f)
                arcTo(2f, 2f, 0f, false, false, 17f, 4.828f)
                verticalLineToRelative(1.344f)
                arcToRelative(2f, 2f, 0f, false, true, -0.586f, 1.414f)
                arcTo(2f, 2f, 0f, false, true, 17.828f, 7f)
                horizontalLineToRelative(1.344f)
                arcToRelative(2f, 2f, 0f, false, false, 1.414f, -0.586f)
                lineTo(21.7f, 5.3f)
                arcToRelative(1f, 1f, 0f, false, false, 0f, -1.4f)
                close()
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(6f, 16f)
                lineToRelative(2f, 2f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(8.23f, 9.85f)
                arcTo(3f, 3f, 0f, false, true, 11f, 8f)
                arcToRelative(5f, 5f, 0f, false, true, 5f, 5f)
                arcToRelative(3f, 3f, 0f, false, true, -1.85f, 2.77f)
                lineToRelative(-0.92f, 0.38f)
                arcTo(2f, 2f, 0f, false, false, 12f, 18f)
                arcToRelative(4f, 4f, 0f, false, true, -4f, 4f)
                arcToRelative(6f, 6f, 0f, false, true, -6f, -6f)
                arcToRelative(4f, 4f, 0f, false, true, 4f, -4f)
                arcToRelative(2f, 2f, 0f, false, false, 1.85f, -1.23f)
                close()
            }
        }.build()
        
        return _LucideGuitar!!
    }

private var _LucideGuitar: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/lucide/guitar.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:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="m11.9,12.1l4.514,-4.514" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M20.1,2.3a1,1 0 0,0 -1.4,0l-1.114,1.114A2,2 0 0,0 17,4.828v1.344a2,2 0 0,1 -0.586,1.414A2,2 0 0,1 17.828,7h1.344a2,2 0 0,0 1.414,-0.586L21.7,5.3a1,1 0 0,0 0,-1.4Z" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="m6,16l2,2" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M8.23,9.85A3,3 0 0,1 11,8a5,5 0 0,1 5,5a3,3 0 0,1 -1.85,2.77l-0.92,0.38A2,2 0 0,0 12,18a4,4 0 0,1 -4,4a6,6 0 0,1 -6,-6a4,4 0 0,1 4,-4a2,2 0 0,0 1.85,-1.23Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/lucide/guitar.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" ><path d="m11.9 12.1 4.514-4.514" /><path d="M20.1 2.3a1 1 0 0 0-1.4 0l-1.114 1.114A2 2 0 0 0 17 4.828v1.344a2 2 0 0 1-.586 1.414A2 2 0 0 1 17.828 7h1.344a2 2 0 0 0 1.414-.586L21.7 5.3a1 1 0 0 0 0-1.4z" /><path d="m6 16 2 2" /><path d="M8.23 9.85A3 3 0 0 1 11 8a5 5 0 0 1 5 5 3 3 0 0 1-1.85 2.77l-.92.38A2 2 0 0 0 12 18a4 4 0 0 1-4 4 6 6 0 0 1-6-6 4 4 0 0 1 4-4 2 2 0 0 0 1.85-1.23z" /></svg>
```
