# html Icon

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

- Library: [Material Icons](https://composables.com/icons/icon-libraries/material-icons.md)
- License: Apache 2.0 (full text in the [Material Icons library page](https://composables.com/icons/icon-libraries/material-icons.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/material-icons/html.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/html.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/html.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/html.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/html.md?v=twotone)
- Categories: [Action](https://composables.com/icons/categories/action.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/html.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.group
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp

val MaterialIconsHtml: ImageVector
    get() {
        if (_MaterialIconsHtml != null) return _MaterialIconsHtml!!
        
        _MaterialIconsHtml = ImageVector.Builder(
            name = "html",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineTo(24f)
                    verticalLineTo(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                path(
                    fill = SolidColor(Color.Black)
                ) {
                    moveTo(3.5f, 9f)
                    horizontalLineTo(5f)
                    verticalLineToRelative(6f)
                    horizontalLineTo(3.5f)
                    verticalLineToRelative(-2.5f)
                    horizontalLineToRelative(-2f)
                    verticalLineTo(15f)
                    horizontalLineTo(0f)
                    verticalLineTo(9f)
                    horizontalLineToRelative(1.5f)
                    verticalLineToRelative(2f)
                    horizontalLineToRelative(2f)
                    verticalLineTo(9f)
                    close()
                    moveTo(17.5f, 9f)
                    horizontalLineTo(13f)
                    curveToRelative(-0.55f, 0f, -1f, 0.45f, -1f, 1f)
                    verticalLineToRelative(5f)
                    horizontalLineToRelative(1.5f)
                    verticalLineToRelative(-4.5f)
                    horizontalLineToRelative(1f)
                    verticalLineTo(14f)
                    horizontalLineTo(16f)
                    verticalLineToRelative(-3.51f)
                    horizontalLineToRelative(1f)
                    verticalLineTo(15f)
                    horizontalLineToRelative(1.5f)
                    verticalLineToRelative(-5f)
                    curveTo(18.5f, 9.45f, 18.05f, 9f, 17.5f, 9f)
                    close()
                    moveTo(11f, 9f)
                    horizontalLineTo(6f)
                    verticalLineToRelative(1.5f)
                    horizontalLineToRelative(1.75f)
                    verticalLineTo(15f)
                    horizontalLineToRelative(1.5f)
                    verticalLineToRelative(-4.5f)
                    horizontalLineTo(11f)
                    verticalLineTo(9f)
                    close()
                    moveTo(24f, 15f)
                    verticalLineToRelative(-1.5f)
                    horizontalLineToRelative(-2.5f)
                    verticalLineTo(9f)
                    horizontalLineTo(20f)
                    verticalLineToRelative(6f)
                    horizontalLineTo(24f)
                    close()
                }
            }
        }.build()
        
        return _MaterialIconsHtml!!
    }

private var _MaterialIconsHtml: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/html.xml`

```xml
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:viewportWidth="24"
    android:viewportHeight="24">
    <path
        android:pathData="M0,0H24V24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M3.5,9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2V9ZM17.5,9H13c-0.55,0 -1,0.45 -1,1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5C18.5,9.45 18.05,9 17.5,9ZM11,9H6v1.5h1.75V15h1.5v-4.5H11V9ZM24,15v-1.5h-2.5V9H20v6H24Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/html.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24" fill="currentColor"><g><rect fill="none" height="24" width="24"/></g><g><path d="M3.5,9H5v6H3.5v-2.5h-2V15H0V9h1.5v2h2V9z M17.5,9H13c-0.55,0-1,0.45-1,1v5h1.5v-4.5h1V14H16v-3.51h1V15h1.5v-5 C18.5,9.45,18.05,9,17.5,9z M11,9H6v1.5h1.75V15h1.5v-4.5H11V9z M24,15v-1.5h-2.5V9H20v6H24z"/></g></svg>
```
