Key Off icon

Key Off is a Google Material Symbol from the UI actions 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.

GradeOptical size

Outlined, unfilled, weight 400

key_off_outlined_fill0_wght400.svg

Key Off 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,GRAD@20..48,100..700,0..1,-50..200&icon_names=key_off" />

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

Key Off icon in React

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

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

Key Off icon in MUI

The @mui/icons-material component (from the older Material Icons set, so no weight or grade):

npm install @mui/icons-material @mui/material @emotion/react @emotion/styled

import KeyOffOutlinedIcon from "@mui/icons-material/KeyOffOutlined";

<KeyOffOutlinedIcon />

Key Off icon in Vue

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

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

Key Off icon in Angular

With Angular Material and the font from the HTML tab:

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

Key Off 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.key_off, fill: 0, weight: 400, grade: 0, opticalSize: 24)

// Or Flutter's built-in Material Icons (the older designs, no fill or weight):
Icon(Icons.key_off_outlined)

Key Off icon in Android

A vector drawable of the selected style, fill and weight, for XML layouts and Jetpack Compose:

<!-- res/drawable/ic_key_off.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="M20.375 22.5 12.425 14.575h-.15q-.775 1.825-2.2 2.625t-3.075 .8q-2.5 0-4.25-1.75T1 12q0-1.65 .875-3.125t2.55-2.275L1.525 3.675l1.075-1.05 18.85 18.8-1.075 1.075Zm.8-13.075 2.825 2.825-4.175 3.825-2.2-1.6-.575 .425-1.075-1.075 1.675-1.2 2.075 1.525 2.1-1.95-1.275-1.275H13.05l-1.5-1.5h9.625ZM7 16.5q1.275 0 2.488-.837T11.175 13.325l-1.487-1.487L8.375 10.525l-1.312-1.312L5.575 7.725q-1.6 .55-2.337 1.775T2.5 12q0 1.875 1.313 3.188T7 16.5Zm-1.2-3.3q-.5-.5-.5-1.2t.5-1.2q.5-.5 1.2-.5 .725 0 1.213 .5t.487 1.2q0 .7-.5 1.2t-1.2 .5q-.7 0-1.2-.5Z" />
</vector>

// Jetpack Compose
Icon(painterResource(R.drawable.ic_key_off), contentDescription = "Key Off")

Key Off icon in SVG

npm install @material-symbols/svg-400

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

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/svg-400@0.47.5/outlined/key_off.svg" width="24" height="24" alt="Key Off">

Key Off 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

NameKey Off
Ligaturekey_off
Code pointU+EB84
CategoryUI actions
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/key_off.svg, key_off-fill.svg
FlutterSymbols.key_off (Material Icons: Icons.key_off)
MUI@mui/icons-material/KeyOff
LicenseApache License 2.0 (© Google LLC)

Keywords

ui actionsondisabledsecurityslashenabledaccessofflineunavailableprivatesecureobject

Related icons