1. Icon Monks
  2. Security icons
  3. Lock Code

Lock Code icon

The lock code 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.

Lock Code icon, thin weight
Thin
SVG
Lock Code icon, light weight
Light
SVG
Lock Code icon, regular weight
Regular
SVG
Lock Code icon, bold weight
Bold
SVG
Lock Code icon, fill weight
Fill
SVG
Lock Code icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the lock code icon

It is the lock icon with code brackets, for developer features, so it keeps the exact outline of the lock icon. Use it to stand for lock, code and developer. 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 code 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 code icon in your code

React

import { LockCode } from '@icon-monks/react';

<LockCode size={24} />

Vue

<script setup>
import { LockCode } from '@icon-monks/vue';
</script>

<LockCode :size="24" />

Web component

<icon-monks name="lock-code" size="24"></icon-monks>

Icon font

<i class="im im-lock-code"></i>

Flutter

Icon(IconMonks.lockCode)

SwiftUI

Image(iconMonks: .lockCode)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.LockCode

Icon(IconMonks.Regular.LockCode, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related security icons

See all 123 security icons

Similar icons in other categories

Questions about the lock code icon

Is the lock code icon free for commercial use?

Yes. The lock code 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 code 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 code and lock icons?

The lock code icon is the lock icon with code brackets, for developer features. 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