# cube Icon

> The cube 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: [Objects](https://composables.com/icons/categories/objects.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/radix/cube.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 RadixCube: ImageVector
    get() {
        if (_RadixCube != null) return _RadixCube!!
        
        _RadixCube = ImageVector.Builder(
            name = "cube",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 15f,
            viewportHeight = 15f
        ).apply {
            path(
                fill = SolidColor(Color.Black)
            ) {
                moveTo(7.39258f, 0.761694f)
                curveTo(7.49888f, 0.738311f, 7.61147f, 0.749978f, 7.71191f, 0.796851f)
                lineTo(13.7119f, 3.59666f)
                curveTo(13.8877f, 3.67884f, 13.9999f, 3.85571f, 14f, 4.04978f)
                verticalLineTo(10.9502f)
                curveTo(13.9999f, 11.1442f, 13.8877f, 11.3211f, 13.7119f, 11.4033f)
                lineTo(7.71191f, 14.2031f)
                curveTo(7.57789f, 14.2656f, 7.42211f, 14.2656f, 7.28809f, 14.2031f)
                lineTo(1.28809f, 11.4033f)
                curveTo(1.11228f, 11.3211f, 1.00008f, 11.1442f, 1f, 10.9502f)
                verticalLineTo(4.04978f)
                curveTo(1.00008f, 3.85571f, 1.11228f, 3.67884f, 1.28809f, 3.59666f)
                lineTo(7.28809f, 0.796851f)
                lineTo(7.39258f, 0.761694f)
                close()
                moveTo(2f, 10.6308f)
                lineTo(7f, 12.9638f)
                verticalLineTo(6.93064f)
                lineTo(2f, 4.80466f)
                verticalLineTo(10.6308f)
                close()
                moveTo(8f, 6.93064f)
                verticalLineTo(12.9638f)
                lineTo(13f, 10.6308f)
                verticalLineTo(4.80466f)
                lineTo(8f, 6.93064f)
                close()
                moveTo(2.72754f, 4.0283f)
                lineTo(7.5f, 6.05662f)
                lineTo(12.2715f, 4.0283f)
                lineTo(7.5f, 1.80173f)
                lineTo(2.72754f, 4.0283f)
                close()
            }
        }.build()
        
        return _RadixCube!!
    }

private var _RadixCube: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/radix/cube.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="M7.39258,0.761694C7.49888,0.738311 7.61147,0.749978 7.71191,0.796851L13.7119,3.59666C13.8877,3.67884 13.9999,3.85571 14,4.04978V10.9502C13.9999,11.1442 13.8877,11.3211 13.7119,11.4033L7.71191,14.2031C7.57789,14.2656 7.42211,14.2656 7.28809,14.2031L1.28809,11.4033C1.11228,11.3211 1.00008,11.1442 1,10.9502V4.04978C1.00008,3.85571 1.11228,3.67884 1.28809,3.59666L7.28809,0.796851L7.39258,0.761694ZM2,10.6308L7,12.9638V6.93064L2,4.80466V10.6308ZM8,6.93064V12.9638L13,10.6308V4.80466L8,6.93064ZM2.72754,4.0283L7.5,6.05662L12.2715,4.0283L7.5,1.80173L2.72754,4.0283Z" />
</vector>
```

## SVG

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

```svg
<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.39258 0.761694C7.49888 0.738311 7.61147 0.749978 7.71191 0.796851L13.7119 3.59666C13.8877 3.67884 13.9999 3.85571 14 4.04978V10.9502C13.9999 11.1442 13.8877 11.3211 13.7119 11.4033L7.71191 14.2031C7.57789 14.2656 7.42211 14.2656 7.28809 14.2031L1.28809 11.4033C1.11228 11.3211 1.00008 11.1442 1 10.9502V4.04978C1.00008 3.85571 1.11228 3.67884 1.28809 3.59666L7.28809 0.796851L7.39258 0.761694ZM2 10.6308L7 12.9638V6.93064L2 4.80466V10.6308ZM8 6.93064V12.9638L13 10.6308V4.80466L8 6.93064ZM2.72754 4.0283L7.5 6.05662L12.2715 4.0283L7.5 1.80173L2.72754 4.0283Z" fill="currentColor"/></svg>
```
