# function Icon

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

- Library: [Tabler](https://composables.com/icons/icon-libraries/tabler.md)
- License: MIT (full text in the [Tabler library page](https://composables.com/icons/icon-libraries/tabler.md))
- Styles: [Outline](https://composables.com/icons/icon-libraries/tabler/function.md?v=outline), [Filled](https://composables.com/icons/icon-libraries/tabler/function.md?v=filled)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/tabler/function.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 TablerFunction: ImageVector
    get() {
        if (_TablerFunction != null) return _TablerFunction!!
        
        _TablerFunction = ImageVector.Builder(
            name = "function",
            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(4f, 6.667f)
                arcToRelative(2.667f, 2.667f, 0f, false, true, 2.667f, -2.667f)
                horizontalLineToRelative(10.666f)
                arcToRelative(2.667f, 2.667f, 0f, false, true, 2.667f, 2.667f)
                verticalLineToRelative(10.666f)
                arcToRelative(2.667f, 2.667f, 0f, false, true, -2.667f, 2.667f)
                horizontalLineToRelative(-10.666f)
                arcToRelative(2.667f, 2.667f, 0f, false, true, -2.667f, -2.667f)
                lineToRelative(0f, -10.666f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 15.5f)
                verticalLineToRelative(0.25f)
                curveToRelative(0f, 0.69f, 0.56f, 1.25f, 1.25f, 1.25f)
                curveToRelative(0.71f, 0f, 1.304f, -0.538f, 1.374f, -1.244f)
                lineToRelative(0.752f, -7.512f)
                arcToRelative(1.381f, 1.381f, 0f, false, true, 1.374f, -1.244f)
                curveToRelative(0.69f, 0f, 1.25f, 0.56f, 1.25f, 1.25f)
                verticalLineToRelative(0.25f)
            }
            path(
                fill = SolidColor(Color.Transparent),
                stroke = SolidColor(Color.Black),
                strokeLineWidth = 2f,
                strokeLineCap = StrokeCap.Round,
                strokeLineJoin = StrokeJoin.Round
            ) {
                moveTo(9f, 12f)
                horizontalLineToRelative(6f)
            }
        }.build()
        
        return _TablerFunction!!
    }

private var _TablerFunction: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/tabler/function.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="M4,6.667a2.667,2.667 0 0,1 2.667,-2.667h10.666a2.667,2.667 0 0,1 2.667,2.667v10.666a2.667,2.667 0 0,1 -2.667,2.667h-10.666a2.667,2.667 0 0,1 -2.667,-2.667l0,-10.666" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,15.5v0.25c0,0.69 0.56,1.25 1.25,1.25c0.71,0 1.304,-0.538 1.374,-1.244l0.752,-7.512a1.381,1.381 0 0,1 1.374,-1.244c0.69,0 1.25,0.56 1.25,1.25v0.25" />
    <path
        android:strokeColor="@android:color/black"
        android:strokeLineCap="round"
        android:strokeLineJoin="round"
        android:strokeWidth="2"
        android:pathData="M9,12h6" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/tabler/function.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="M4 6.667a2.667 2.667 0 0 1 2.667 -2.667h10.666a2.667 2.667 0 0 1 2.667 2.667v10.666a2.667 2.667 0 0 1 -2.667 2.667h-10.666a2.667 2.667 0 0 1 -2.667 -2.667l0 -10.666" /><path d="M9 15.5v.25c0 .69 .56 1.25 1.25 1.25c.71 0 1.304 -.538 1.374 -1.244l.752 -7.512a1.381 1.381 0 0 1 1.374 -1.244c.69 0 1.25 .56 1.25 1.25v.25" /><path d="M9 12h6" /></svg>
```
