- Icon Monks
- Security icons
- Keyhole
Keyhole icon
The keyhole 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 keyhole icon
Use it to stand for lock, access and secure. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline.
Pairs well with the lock scan, hand lock and fingerprint lock icons, which share the “lock” theme. Use the same weight for all of them so they read as one set.
When to use the keyhole 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 keyhole icon in your code
React
import { Keyhole } from '@icon-monks/react';
<Keyhole size={24} />Vue
<script setup>
import { Keyhole } from '@icon-monks/vue';
</script>
<Keyhole :size="24" />Web component
<icon-monks name="keyhole" size="24"></icon-monks>Icon font
<i class="im im-keyhole"></i>Flutter
Icon(IconMonks.keyhole)SwiftUI
Image(iconMonks: .keyhole)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Keyhole
Icon(IconMonks.Regular.Keyhole, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related security icons
shield-keyhole
lock-scan
hand-lock
lock-check
lock-minus
lock-plus
fingerprint-lock
fingerprint-scan
fingerprint-slash
globe-lock
hand-shield
house-lock
key
lock
lock-arrow-down
lock-arrow-up
lock-bitcoin
lock-code
Similar icons in other categories
credit-card-lock
file-lock-open
folder-lock-open
basket-shield
building-office-lock
chat-lock
cloud-lock
database-lock
envelope-lock
file-lock
folder-lock
package-lock
Questions about the keyhole icon
Is the keyhole icon free for commercial use?
Yes. The keyhole 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 keyhole 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.
Which weight of the keyhole icon should I use?
Use regular at 24 px for most interfaces, bold at 16 px or on busy screens, thin or light for large display sizes, fill for a selected or active state, and duotone for illustrations and empty states.
Last updated with version 0.4.3. Release notes