# Key icon — Nodo Icons

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

## React

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

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

## Vue

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

<template><KeyIcon :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"><circle cx="7.5" cy="16.5" r="4"/><path d="M10.35 13.65 19.5 4.5"/><path d="M15.5 8.5l2.5 2.5"/><path d="M18 6l2 2"/></svg>
```

## Pro styles

With Nodo Icons Pro: `import { KeyIcon } 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

- [access-log](https://nodoicons.com/icons/access-log/index.md)
- [access-request](https://nodoicons.com/icons/access-request/index.md)
- [key-clock](https://nodoicons.com/icons/key-clock/index.md)
- [key-off](https://nodoicons.com/icons/key-off/index.md)
- [key-plus](https://nodoicons.com/icons/key-plus/index.md)
- [key-settings](https://nodoicons.com/icons/key-settings/index.md)
- [key-share](https://nodoicons.com/icons/key-share/index.md)
- [key-sync](https://nodoicons.com/icons/key-sync/index.md)
- [lock](https://nodoicons.com/icons/lock/index.md)
- [master-key](https://nodoicons.com/icons/master-key/index.md)
- [password](https://nodoicons.com/icons/password/index.md)
- [password-alert](https://nodoicons.com/icons/password-alert/index.md)
