# keyboard_alt Icon

> The keyboard_alt 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/keyboard_alt.md?v=filled), [Outlined](https://composables.com/icons/icon-libraries/material-icons/keyboard_alt.md?v=outlined), [Rounded](https://composables.com/icons/icon-libraries/material-icons/keyboard_alt.md?v=rounded), [Sharp](https://composables.com/icons/icon-libraries/material-icons/keyboard_alt.md?v=sharp), [Two-Tone](https://composables.com/icons/icon-libraries/material-icons/keyboard_alt.md?v=twotone)
- Categories: [Hardware](https://composables.com/icons/categories/hardware.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/keyboard_alt.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 MaterialIconsKeyboardAlt: ImageVector
    get() {
        if (_MaterialIconsKeyboardAlt != null) return _MaterialIconsKeyboardAlt!!
        
        _MaterialIconsKeyboardAlt = ImageVector.Builder(
            name = "keyboard_alt",
            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 {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(21f, 4f)
                        horizontalLineTo(3f)
                        curveTo(1.9f, 4f, 1f, 4.9f, 1f, 6f)
                        verticalLineToRelative(13f)
                        curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
                        horizontalLineToRelative(18f)
                        curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
                        verticalLineTo(6f)
                        curveTo(23f, 4.9f, 22.1f, 4f, 21f, 4f)
                        close()
                        moveTo(21f, 19f)
                        horizontalLineTo(3f)
                        verticalLineTo(6f)
                        horizontalLineToRelative(18f)
                        verticalLineTo(19f)
                        close()
                        moveTo(9f, 8f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(9f)
                        verticalLineTo(8f)
                        close()
                        moveTo(5f, 8f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(5f)
                        verticalLineTo(8f)
                        close()
                        moveTo(8f, 16f)
                        horizontalLineToRelative(8f)
                        verticalLineToRelative(1f)
                        horizontalLineTo(8f)
                        verticalLineTo(16f)
                        close()
                        moveTo(13f, 8f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineToRelative(-2f)
                        verticalLineTo(8f)
                        close()
                        moveTo(9f, 12f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(9f)
                        verticalLineTo(12f)
                        close()
                        moveTo(5f, 12f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(5f)
                        verticalLineTo(12f)
                        close()
                        moveTo(13f, 12f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineToRelative(-2f)
                        verticalLineTo(12f)
                        close()
                        moveTo(17f, 8f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineToRelative(-2f)
                        verticalLineTo(8f)
                        close()
                        moveTo(17f, 12f)
                        horizontalLineToRelative(2f)
                        verticalLineToRelative(2f)
                        horizontalLineToRelative(-2f)
                        verticalLineTo(12f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsKeyboardAlt!!
    }

private var _MaterialIconsKeyboardAlt: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/keyboard_alt.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="M21,4H3C1.9,4 1,4.9 1,6v13c0,1.1 0.9,2 2,2h18c1.1,0 2,-0.9 2,-2V6C23,4.9 22.1,4 21,4ZM21,19H3V6h18V19ZM9,8h2v2H9V8ZM5,8h2v2H5V8ZM8,16h8v1H8V16ZM13,8h2v2h-2V8ZM9,12h2v2H9V12ZM5,12h2v2H5V12ZM13,12h2v2h-2V12ZM17,8h2v2h-2V8ZM17,12h2v2h-2V12Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/keyboard_alt.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" y="0"/></g><g><g><path d="M21,4H3C1.9,4,1,4.9,1,6v13c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V6C23,4.9,22.1,4,21,4z M21,19H3V6h18V19z M9,8h2v2H9V8z M5,8h2v2H5V8z M8,16h8v1H8V16z M13,8h2v2h-2V8z M9,12h2v2H9V12z M5,12h2v2H5V12z M13,12h2v2h-2V12z M17,8h2v2h-2V8z M17,12h2v2 h-2V12z"/></g></g></svg>
```
