Lock icon
The lock 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 icon
Use it to stand for secure, private and password. 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 ten or more variants for states and actions: lock arrow down, lock arrow up, lock bitcoin, lock check, lock clock, lock code, lock currency dollar, lock gear, lock heart and lock key.
When to use the lock 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 icon in your code
React
import { Lock } from '@icon-monks/react';
<Lock size={24} />Vue
<script setup>
import { Lock } from '@icon-monks/vue';
</script>
<Lock :size="24" />Web component
<icon-monks name="lock" size="24"></icon-monks>Icon font
<i class="im im-lock"></i>Flutter
Icon(IconMonks.lock)SwiftUI
Image(iconMonks: .lock)Compose
import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Lock
Icon(IconMonks.Regular.Lock, 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-key
shield-lock
hand-lock
house-lock
lock-check
lock-laminated
lock-minus
lock-plus
lock-scan
browser-lock
cloud-lock-open
fingerprint-lock
globe-lock
lock-arrow-down
lock-arrow-up
lock-bitcoin
lock-clock
lock-code
Similar icons in other categories
wifi-lock
phone-lock
book-lock
calendar-lock
image-lock
credit-card-lock
package-lock
chat-lock
cloud-lock
database-lock
envelope-lock
file-lock
Questions about the lock icon
Is the lock icon free for commercial use?
Yes. The lock 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 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 lock icon?
Yes. The lock icon has ten or more variants, including lock arrow down, lock arrow up, lock bitcoin and lock check. Each one keeps the same base shape and comes in all six weights.
Last updated with version 0.4.3. Release notes