# Lock icon — Nodo Icons

- Name: `lock`
- Category: security
- Tags: secure, password, private
- Free style: Linear (MIT). Pro styles: Light, Bold, Sharp, Twotone, Duotone, Bulk, Solid, Contained, Soft.
- Page: https://nodoicons.com/icons/lock/
- SVG (Linear): https://nodoicons.com/svg/linear/lock.svg

## React

```jsx
import { LockIcon } from '@nodo-icons/react';

<LockIcon size={24} />
```

## Vue

```vue
<script setup>
import { LockIcon } from '@nodo-icons/vue';
</script>

<template><LockIcon :size="24" /></template>
```

## SVG (Linear)

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="4.5" y="10.5" width="15" height="10.5" rx="3"/><path d="M8 10.5V7.5a4 4 0 0 1 8 0v3"/><line x1="12" y1="14.75" x2="12" y2="16.75"/></svg>
```

## Pro styles

With Nodo Icons Pro: `import { LockIcon } from '@nodo-icons/react-pro/<style>'`, where `<style>` is one of light, bold, sharp, twotone, duotone, bulk, solid, contained, soft. The Pro packages install from the Nodo Icons registry with your license key: https://nodoicons.com/docs/#nodo-icons-pro-in-react-and-vue. Pricing: https://nodoicons.com/#pricing

## Related icons

- [app-lock](https://nodoicons.com/icons/app-lock/index.md)
- [combination-lock](https://nodoicons.com/icons/combination-lock/index.md)
- [hard-drive-lock](https://nodoicons.com/icons/hard-drive-lock/index.md)
- [key](https://nodoicons.com/icons/key/index.md)
- [lock-alert](https://nodoicons.com/icons/lock-alert/index.md)
- [lock-check](https://nodoicons.com/icons/lock-check/index.md)
- [lock-dollar](https://nodoicons.com/icons/lock-dollar/index.md)
- [lock-x](https://nodoicons.com/icons/lock-x/index.md)
- [password](https://nodoicons.com/icons/password/index.md)
- [password-alert](https://nodoicons.com/icons/password-alert/index.md)
- [password-check](https://nodoicons.com/icons/password-check/index.md)
- [password-clock](https://nodoicons.com/icons/password-clock/index.md)
