# shopping-cart Icon

> The shopping-cart icon from Feather as Compose ImageVector Kotlin code, Android Vector Drawable XML and SVG.

- Library: [Feather](https://composables.com/icons/icon-libraries/feather.md)
- License: MIT (full text in the [Feather library page](https://composables.com/icons/icon-libraries/feather.md))

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/feather/shopping-cart.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 FeatherShoppingCart: ImageVector
    get() {
        if (_FeatherShoppingCart != null) return _FeatherShoppingCart!!
        
        _FeatherShoppingCart = ImageVector.Builder(
            name = "shopping-cart",
            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(10f, 21f)
                arcTo(1f, 1f, 0f, false, true, 9f, 22f)
                arcTo(1f, 1f, 0f, false, true, 8f, 21f)
                arcTo(1f, 1f, 0f, false, true, 10f, 21f)
                close()
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(21f, 21f)
                arcTo(1f, 1f, 0f, false, true, 20f, 22f)
                arcTo(1f, 1f, 0f, false, true, 19f, 21f)
                arcTo(1f, 1f, 0f, false, true, 21f, 21f)
                close()
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(1f, 1f)
                horizontalLineToRelative(4f)
                lineToRelative(2.68f, 13.39f)
                arcToRelative(2f, 2f, 0f, false, false, 2f, 1.61f)
                horizontalLineToRelative(9.72f)
                arcToRelative(2f, 2f, 0f, false, false, 2f, -1.61f)
                lineTo(23f, 6f)
                horizontalLineTo(6f)
            }
        }.build()
        
        return _FeatherShoppingCart!!
    }

private var _FeatherShoppingCart: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/feather/shopping-cart.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="M10,21A1,1 0 0,1 9,22A1,1 0 0,1 8,21A1,1 0 0,1 10,21Z" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M21,21A1,1 0 0,1 20,22A1,1 0 0,1 19,21A1,1 0 0,1 21,21Z" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M1,1h4l2.68,13.39a2,2 0 0,0 2,1.61h9.72a2,2 0 0,0 2,-1.61L23,6H6" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/feather/shopping-cart.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"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>
```
