# password Icon

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

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Download: `https://composables.com/download/icons/material-icons/password.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 MaterialIconsPassword: ImageVector
    get() {
        if (_MaterialIconsPassword != null) return _MaterialIconsPassword!!
        
        _MaterialIconsPassword = ImageVector.Builder(
            name = "password",
            defaultWidth = 24.dp,
            defaultHeight = 24.dp,
            viewportWidth = 24f,
            viewportHeight = 24f
        ).apply {
            group {
                path(
                    fill = SolidColor(Color.Transparent)
                ) {
                    moveTo(0f, 0f)
                    horizontalLineToRelative(24f)
                    verticalLineToRelative(24f)
                    horizontalLineTo(0f)
                    verticalLineTo(0f)
                    close()
                }
            }
            group {
                group {
                    path(
                        fill = SolidColor(Color.Black)
                    ) {
                        moveTo(2f, 17f)
                        horizontalLineToRelative(20f)
                        verticalLineToRelative(2f)
                        horizontalLineTo(2f)
                        verticalLineTo(17f)
                        close()
                        moveTo(3.15f, 12.95f)
                        lineTo(4f, 11.47f)
                        lineToRelative(0.85f, 1.48f)
                        lineToRelative(1.3f, -0.75f)
                        lineTo(5.3f, 10.72f)
                        horizontalLineTo(7f)
                        verticalLineToRelative(-1.5f)
                        horizontalLineTo(5.3f)
                        lineToRelative(0.85f, -1.47f)
                        lineTo(4.85f, 7f)
                        lineTo(4f, 8.47f)
                        lineTo(3.15f, 7f)
                        lineToRelative(-1.3f, 0.75f)
                        lineTo(2.7f, 9.22f)
                        horizontalLineTo(1f)
                        verticalLineToRelative(1.5f)
                        horizontalLineToRelative(1.7f)
                        lineTo(1.85f, 12.2f)
                        lineTo(3.15f, 12.95f)
                        close()
                        moveTo(9.85f, 12.2f)
                        lineToRelative(1.3f, 0.75f)
                        lineTo(12f, 11.47f)
                        lineToRelative(0.85f, 1.48f)
                        lineToRelative(1.3f, -0.75f)
                        lineToRelative(-0.85f, -1.48f)
                        horizontalLineTo(15f)
                        verticalLineToRelative(-1.5f)
                        horizontalLineToRelative(-1.7f)
                        lineToRelative(0.85f, -1.47f)
                        lineTo(12.85f, 7f)
                        lineTo(12f, 8.47f)
                        lineTo(11.15f, 7f)
                        lineToRelative(-1.3f, 0.75f)
                        lineToRelative(0.85f, 1.47f)
                        horizontalLineTo(9f)
                        verticalLineToRelative(1.5f)
                        horizontalLineToRelative(1.7f)
                        lineTo(9.85f, 12.2f)
                        close()
                        moveTo(23f, 9.22f)
                        horizontalLineToRelative(-1.7f)
                        lineToRelative(0.85f, -1.47f)
                        lineTo(20.85f, 7f)
                        lineTo(20f, 8.47f)
                        lineTo(19.15f, 7f)
                        lineToRelative(-1.3f, 0.75f)
                        lineToRelative(0.85f, 1.47f)
                        horizontalLineTo(17f)
                        verticalLineToRelative(1.5f)
                        horizontalLineToRelative(1.7f)
                        lineToRelative(-0.85f, 1.48f)
                        lineToRelative(1.3f, 0.75f)
                        lineTo(20f, 11.47f)
                        lineToRelative(0.85f, 1.48f)
                        lineToRelative(1.3f, -0.75f)
                        lineToRelative(-0.85f, -1.48f)
                        horizontalLineTo(23f)
                        verticalLineTo(9.22f)
                        close()
                    }
                }
            }
        }.build()
        
        return _MaterialIconsPassword!!
    }

private var _MaterialIconsPassword: ImageVector? = null
```

## Android Vector Drawable (XML)

Download: `https://composables.com/download/icons/material-icons/password.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:pathData="M0,0h24v24H0V0Z" />
    <path
        android:fillColor="@android:color/black"
        android:pathData="M2,17h20v2H2V17ZM3.15,12.95L4,11.47l0.85,1.48l1.3,-0.75L5.3,10.72H7v-1.5H5.3l0.85,-1.47L4.85,7L4,8.47L3.15,7l-1.3,0.75L2.7,9.22H1v1.5h1.7L1.85,12.2L3.15,12.95ZM9.85,12.2l1.3,0.75L12,11.47l0.85,1.48l1.3,-0.75l-0.85,-1.48H15v-1.5h-1.7l0.85,-1.47L12.85,7L12,8.47L11.15,7l-1.3,0.75l0.85,1.47H9v1.5h1.7L9.85,12.2ZM23,9.22h-1.7l0.85,-1.47L20.85,7L20,8.47L19.15,7l-1.3,0.75l0.85,1.47H17v1.5h1.7l-0.85,1.48l1.3,0.75L20,11.47l0.85,1.48l1.3,-0.75l-0.85,-1.48H23V9.22Z" />
</vector>
```

## SVG

Download: `https://composables.com/download/icons/material-icons/password.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><path d="M0,0h24v24H0V0z" fill="none"/></g><g><g><path d="M2,17h20v2H2V17z M3.15,12.95L4,11.47l0.85,1.48l1.3-0.75L5.3,10.72H7v-1.5H5.3l0.85-1.47L4.85,7L4,8.47L3.15,7l-1.3,0.75 L2.7,9.22H1v1.5h1.7L1.85,12.2L3.15,12.95z M9.85,12.2l1.3,0.75L12,11.47l0.85,1.48l1.3-0.75l-0.85-1.48H15v-1.5h-1.7l0.85-1.47 L12.85,7L12,8.47L11.15,7l-1.3,0.75l0.85,1.47H9v1.5h1.7L9.85,12.2z M23,9.22h-1.7l0.85-1.47L20.85,7L20,8.47L19.15,7l-1.3,0.75 l0.85,1.47H17v1.5h1.7l-0.85,1.48l1.3,0.75L20,11.47l0.85,1.48l1.3-0.75l-0.85-1.48H23V9.22z"/></g></g></svg>
```
