keyboard command key icon

keyboard-command-key from Material Symbols by Google · Regular · UI Actions · Apache-2.0 Free for personal and commercial use.

Name
keyboard-command-key
Set
Material Symbols
Style
Regular
Category
UI Actions
Viewbox
24×24
License
Apache 2.0
Aliases
keyboard-command-key-outline, keyboard-command-key-outline-rounded, keyboard-command-key-outline-sharp, keyboard-command-key-rounded, keyboard-command-key-sharp

The same icon in other sets

More ui actions icons from Material Symbols

Use the keyboard command key icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.5 21q-1.45 0-2.475-1.025T3 17.5t1.025-2.475T6.5 14H8v-4H6.5q-1.45 0-2.475-1.025T3 6.5t1.025-2.475T6.5 3t2.475 1.025T10 6.5V8h4V6.5q0-1.45 1.025-2.475T17.5 3t2.475 1.025T21 6.5t-1.025 2.475T17.5 10H16v4h1.5q1.45 0 2.475 1.025T21 17.5t-1.025 2.475T17.5 21t-2.475-1.025T14 17.5V16h-4v1.5q0 1.45-1.025 2.475T6.5 21m0-2q.625 0 1.063-.437T8 17.5V16H6.5q-.625 0-1.062.438T5 17.5t.438 1.063T6.5 19m11 0q.625 0 1.063-.437T19 17.5t-.437-1.062T17.5 16H16v1.5q0 .625.438 1.063T17.5 19M10 14h4v-4h-4zM6.5 8H8V6.5q0-.625-.437-1.062T6.5 5t-1.062.438T5 6.5t.438 1.063T6.5 8M16 8h1.5q.625 0 1.063-.437T19 6.5t-.437-1.062T17.5 5t-1.062.438T16 6.5z"/></svg>

React

import type { SVGProps } from "react";

export function MaterialSymbolsKeyboardCommandKey(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.5 21q-1.45 0-2.475-1.025T3 17.5t1.025-2.475T6.5 14H8v-4H6.5q-1.45 0-2.475-1.025T3 6.5t1.025-2.475T6.5 3t2.475 1.025T10 6.5V8h4V6.5q0-1.45 1.025-2.475T17.5 3t2.475 1.025T21 6.5t-1.025 2.475T17.5 10H16v4h1.5q1.45 0 2.475 1.025T21 17.5t-1.025 2.475T17.5 21t-2.475-1.025T14 17.5V16h-4v1.5q0 1.45-1.025 2.475T6.5 21m0-2q.625 0 1.063-.437T8 17.5V16H6.5q-.625 0-1.062.438T5 17.5t.438 1.063T6.5 19m11 0q.625 0 1.063-.437T19 17.5t-.437-1.062T17.5 16H16v1.5q0 .625.438 1.063T17.5 19M10 14h4v-4h-4zM6.5 8H8V6.5q0-.625-.437-1.062T6.5 5t-1.062.438T5 6.5t.438 1.063T6.5 8M16 8h1.5q.625 0 1.063-.437T19 6.5t-.437-1.062T17.5 5t-1.062.438T16 6.5z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.5 21q-1.45 0-2.475-1.025T3 17.5t1.025-2.475T6.5 14H8v-4H6.5q-1.45 0-2.475-1.025T3 6.5t1.025-2.475T6.5 3t2.475 1.025T10 6.5V8h4V6.5q0-1.45 1.025-2.475T17.5 3t2.475 1.025T21 6.5t-1.025 2.475T17.5 10H16v4h1.5q1.45 0 2.475 1.025T21 17.5t-1.025 2.475T17.5 21t-2.475-1.025T14 17.5V16h-4v1.5q0 1.45-1.025 2.475T6.5 21m0-2q.625 0 1.063-.437T8 17.5V16H6.5q-.625 0-1.062.438T5 17.5t.438 1.063T6.5 19m11 0q.625 0 1.063-.437T19 17.5t-.437-1.062T17.5 16H16v1.5q0 .625.438 1.063T17.5 19M10 14h4v-4h-4zM6.5 8H8V6.5q0-.625-.437-1.062T6.5 5t-1.062.438T5 6.5t.438 1.063T6.5 8M16 8h1.5q.625 0 1.063-.437T19 6.5t-.437-1.062T17.5 5t-1.062.438T16 6.5z"/></svg>
</template>

CSS

.icon-keyboard-command-key {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6.5%2021q-1.45%200-2.475-1.025T3%2017.5t1.025-2.475T6.5%2014H8v-4H6.5q-1.45%200-2.475-1.025T3%206.5t1.025-2.475T6.5%203t2.475%201.025T10%206.5V8h4V6.5q0-1.45%201.025-2.475T17.5%203t2.475%201.025T21%206.5t-1.025%202.475T17.5%2010H16v4h1.5q1.45%200%202.475%201.025T21%2017.5t-1.025%202.475T17.5%2021t-2.475-1.025T14%2017.5V16h-4v1.5q0%201.45-1.025%202.475T6.5%2021m0-2q.625%200%201.063-.437T8%2017.5V16H6.5q-.625%200-1.062.438T5%2017.5t.438%201.063T6.5%2019m11%200q.625%200%201.063-.437T19%2017.5t-.437-1.062T17.5%2016H16v1.5q0%20.625.438%201.063T17.5%2019M10%2014h4v-4h-4zM6.5%208H8V6.5q0-.625-.437-1.062T6.5%205t-1.062.438T5%206.5t.438%201.063T6.5%208M16%208h1.5q.625%200%201.063-.437T19%206.5t-.437-1.062T17.5%205t-1.062.438T16%206.5z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6.5%2021q-1.45%200-2.475-1.025T3%2017.5t1.025-2.475T6.5%2014H8v-4H6.5q-1.45%200-2.475-1.025T3%206.5t1.025-2.475T6.5%203t2.475%201.025T10%206.5V8h4V6.5q0-1.45%201.025-2.475T17.5%203t2.475%201.025T21%206.5t-1.025%202.475T17.5%2010H16v4h1.5q1.45%200%202.475%201.025T21%2017.5t-1.025%202.475T17.5%2021t-2.475-1.025T14%2017.5V16h-4v1.5q0%201.45-1.025%202.475T6.5%2021m0-2q.625%200%201.063-.437T8%2017.5V16H6.5q-.625%200-1.062.438T5%2017.5t.438%201.063T6.5%2019m11%200q.625%200%201.063-.437T19%2017.5t-.437-1.062T17.5%2016H16v1.5q0%20.625.438%201.063T17.5%2019M10%2014h4v-4h-4zM6.5%208H8V6.5q0-.625-.437-1.062T6.5%205t-1.062.438T5%206.5t.438%201.063T6.5%208M16%208h1.5q.625%200%201.063-.437T19%206.5t-.437-1.062T17.5%205t-1.062.438T16%206.5z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols/keyboard-command-key.svg?color=%231a73e8&size=48