Key icon
The key icon is a free security icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.
Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.
About the key icon
Use it to stand for password, access and unlock. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 8 variants for states and actions: key bitcoin, key circle, key control, key option, key return, key shift, key skeleton and key slash.
Pairs well with the keyhole, lock and passkey icons, which share the “password” theme. Use the same weight for all of them so they read as one set.
When to use the key icon
It belongs to the security set, made for locks, privacy, authentication and safety. Pair it with the related icons below so a screen stays in one visual style.
Use the key icon in your code
React
import { Key } from '@icon-monks/react';
<Key size={24} />Vue
<script setup>
import { Key } from '@icon-monks/vue';
</script>
<Key :size="24" />Web component
<icon-monks name="key" size="24"></icon-monks>Icon font
<i class="im im-key"></i>Flutter
Icon(IconMonks.key)SwiftUI
Image(iconMonks: .key)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Key
Icon(IconMonks.Regular.Key, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related security icons
key-skeleton
key-bitcoin
key-slash
lock-key
lock-key-open
rotate-key
security-key
usb-key
keyhole
lock
lock-laminated-open
lock-open
lock-scan
passkey
password
vault-open
browser-lock
browser-shield
Similar icons in other categories
file-lock-open
folder-lock-open
clerk-logo
door-enter
sign-in
user-circle
chat-lock-open
envelope-lock-open
phone-lock-open
rss-lock-open
bitwarden-logo
eye-slash
Questions about the key icon
Is the key icon free for commercial use?
Yes. The key icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.
How do I change the color and size of the key icon?
The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.
Are there variants of the key icon?
Yes. The key icon has 8 variants, including key bitcoin, key circle, key control and key option. Each one keeps the same base shape and comes in all six weights.
Last updated with version 0.4.3. Release notes