- Icon Monks
- Security icons
- Lock X
Lock X icon
The lock x 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 lock x icon
It is the lock icon with an x badge, for cancelling, closing or deleting, so it keeps the exact outline of the lock icon. Use it to stand for lock, error and denied. 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 envelope prohibit, folder prohibit and browser prohibit icons, which share the “denied” theme. Use the same weight for all of them so they read as one set.
When to use the lock x 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 lock x icon in your code
React
import { LockX } from '@icon-monks/react';
<LockX size={24} />Vue
<script setup>
import { LockX } from '@icon-monks/vue';
</script>
<LockX :size="24" />Web component
<icon-monks name="lock-x" size="24"></icon-monks>Icon font
<i class="im im-lock-x"></i>Flutter
Icon(IconMonks.lockX)SwiftUI
Image(iconMonks: .lockX)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.LockX
Icon(IconMonks.Regular.LockX, contentDescription = null)Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.
Tags
Related security icons
lock-warning
fingerprint-lock
globe-lock
hand-lock
house-lock
lock-arrow-down
lock-arrow-up
lock-bitcoin
lock-check
lock-code
lock-currency-dollar
lock-gear
lock-heart
lock-lightning
lock-magnifying-glass
lock-minus
lock-pause
lock-plus
Similar icons in other categories
envelope-prohibit
folder-prohibit
seal-x
browser-prohibit
chat-prohibit
device-mobile-x
download-slash
envelope-slash
file-prohibit
prohibit
upload-slash
user-slash
Questions about the lock x icon
Is the lock x icon free for commercial use?
Yes. The lock x 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 lock x 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.
What is the difference between the lock x and lock icons?
The lock x icon is the lock icon with an x badge, for cancelling, closing or deleting. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.
Last updated with version 0.4.3. Release notes