# lock Icon

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

- Library: [Bootstrap](https://composables.com/icons/icon-libraries/bootstrap.md)
- License: MIT (full text in the [Bootstrap library page](https://composables.com/icons/icon-libraries/bootstrap.md))
- Styles: [Filled](https://composables.com/icons/icon-libraries/bootstrap/lock.md?v=fill), [Outline](https://composables.com/icons/icon-libraries/bootstrap/lock.md?v=outline)
- Categories: [Security](https://composables.com/icons/categories/security.md)

## Compose ImageVector (Kotlin)

For Jetpack Compose and Compose Multiplatform. Copy or download it from the icon page: https://composables.com/icons/icon-libraries/bootstrap/lock

## Android Vector Drawable (XML)

Copy or download it from the icon page: https://composables.com/icons/icon-libraries/bootstrap/lock

## SVG

Download: `https://composables.com/download/icons/bootstrap/lock.svg`

```svg
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-lock" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M8 0a4 4 0 0 1 4 4v2.05a2.5 2.5 0 0 1 2 2.45v5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 13.5v-5a2.5 2.5 0 0 1 2-2.45V4a4 4 0 0 1 4-4M4.5 7A1.5 1.5 0 0 0 3 8.5v5A1.5 1.5 0 0 0 4.5 15h7a1.5 1.5 0 0 0 1.5-1.5v-5A1.5 1.5 0 0 0 11.5 7zM8 1a3 3 0 0 0-3 3v2h6V4a3 3 0 0 0-3-3"/></svg>
```
