Keyboard Lock icon

Keyboard Lock is a Google Material Symbol from the Hardware category. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

Outlined, unfilled, weight 400

keyboard_lock_outlined_fill0_wght400.svg

Keyboard Lock icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&icon_names=keyboard_lock" />

<span class="material-symbols-outlined">keyboard_lock</span>

Keyboard Lock icon in React

// With the font from the HTML tab:
export function KeyboardLockIcon() {
  return (
    <span className="material-symbols-outlined">
      keyboard_lock
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import KeyboardLockIcon from "@material-symbols/svg-400/outlined/keyboard_lock.svg?react";

Keyboard Lock icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">keyboard_lock</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import KeyboardLockIcon from "@material-symbols/svg-400/outlined/keyboard_lock.svg?component"; -->

Keyboard Lock icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">keyboard_lock</mat-icon>

Keyboard Lock icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.keyboard_lock, fill: 0, weight: 400)

Keyboard Lock icon in Android

A vector drawable of the selected style, fill and weight:

<!-- res/drawable/keyboard_lock.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M3.5 17.5v-11 11Zm1.575-4.75h1.5v-1.5h-1.5v1.5Zm3.1 0h1.5v-1.5h-1.5v1.5Zm3.075 0h1.5v-1.5h-1.5v1.5Zm3.1 0h1.5v-1.5h-1.5v1.5ZM5.075 9.625h1.5v-1.5h-1.5v1.5Zm3.1 0h1.5v-1.5h-1.5v1.5Zm3.075 0h1.5v-1.5h-1.5v1.5Zm3.1 0h1.5v-1.5h-1.5v1.5Zm3.075 0h1.5v-1.5h-1.5v1.5Zm0 3.125q.35-.1 .713-.15t.787-.05v-1.3h-1.5v1.5ZM7.5 15.875h7.15q.125-.425 .288-.787T15.35 14.375H7.5v1.5ZM3.5 19q-.6 0-1.05-.462T2 17.5v-11q0-.6 .45-1.05t1.05-.45h17q.6 0 1.05 .45t.45 1.05v7.3q-.32-.325-.698-.55T20.5 12.85v-6.35H3.5v11h11.025v1.5H3.5ZM16.875 22q-.375 0-.712-.337T15.825 20.95v-3.05q0-.375 .338-.712T16.875 16.85v-1q0-.9 .588-1.525t1.462-.625q.875 0 1.45 .625t.575 1.525v1h.025q.35 0 .688 .338T22 17.9v3.05q0 .375-.337 .713T20.975 22H16.875Zm1-5.15h2.1v-1q0-.489-.287-.819Q19.4 14.7 18.913 14.7T18.15 15.031q-.275 .33-.275 .819v1Z" />
</vector>

Keyboard Lock icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/keyboard_lock.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/[email protected]/outlined/keyboard_lock.svg" width="24" height="24" alt="Keyboard Lock">

Keyboard Lock icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameKeyboard Lock
Ligaturekeyboard_lock
Code pointU+F492
CategoryHardware
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/keyboard_lock.svg, keyboard_lock-fill.svg
FlutterSymbols.keyboard_lock
LicenseApache License 2.0 (© Google LLC)

Keywords

hardwaretypesecuritylettersaccessinputcomputerprotectionprivacysafetyprivatesecure

Related icons