- Icon Monks
- Security icons
- Lock Warning
Lock Warning icon
The lock warning 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 warning icon
It is the lock icon with a warning badge, for something that needs attention, so it keeps the exact outline of the lock icon. Use it to stand for lock, warning and alert. The regular weight is a single path made of 5 shapes, and the duotone weight adds a 20% tint behind the outline.
When to use the lock warning 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 warning icon in your code
React
import { LockWarning } from '@icon-monks/react';
<LockWarning size={24} />Vue
<script setup>
import { LockWarning } from '@icon-monks/vue';
</script>
<LockWarning :size="24" />Web component
<icon-monks name="lock-warning" size="24"></icon-monks>Icon font
<i class="im im-lock-warning"></i>Flutter
Icon(IconMonks.lockWarning)SwiftUI
Image(iconMonks: .lockWarning)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.LockWarning
Icon(IconMonks.Regular.LockWarning, 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-x
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
cloud-warning
cursor-warning
database-warning
device-mobile-warning
file-warning
flag-warning
folder-warning
funnel-warning
gear-warning
globe-warning
heart-warning
image-warning
Questions about the lock warning icon
Is the lock warning icon free for commercial use?
Yes. The lock warning 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 warning 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 warning and lock icons?
The lock warning icon is the lock icon with a warning badge, for something that needs attention. 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