The Standard Icon Set

Keyboard

Command Key icon

A keyboard keycap with the command loop symbol in its center. Use for the Command key or Mac shortcuts.

SVG
PNG
Size
Weight

Sizes

  • 16
  • 18
  • 20
  • 22
  • 24
  • 28
  • 32
  • 40
  • 48

Use it

Format
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="4.306" y="3.519" width="7.39025" height="6.51025" rx="1" stroke="currentColor" stroke-linejoin="round" stroke-width="1.182"/><path d="M4.74 12.764H11.263C12.396 12.764 13.303 11.824 13.262 10.692L13.075 5.442C13.036 4.366 12.153 3.514 11.076 3.514H4.937C3.862 3.514 2.979 4.364 2.939 5.438L2.741 10.688C2.699 11.822 3.606 12.764 4.74 12.764Z" stroke="currentColor" stroke-linejoin="round" stroke-width="1.182"/><path d="M4.567 9.66L3.463 12.212M11.432 9.66L12.536 12.212" stroke="currentColor" stroke-width="1.182"/><path d="M7.508 6.282H8.493V7.267H7.508V6.282Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M7.508 6.282V5.912C7.508 5.839 7.487 5.768 7.446 5.707C7.406 5.646 7.348 5.599 7.28 5.571C7.213 5.543 7.139 5.536 7.067 5.55C6.995 5.564 6.929 5.599 6.878 5.651C6.826 5.703 6.791 5.768 6.777 5.84C6.762 5.912 6.77 5.986 6.798 6.054C6.826 6.121 6.873 6.179 6.934 6.219C6.994 6.26 7.066 6.282 7.139 6.282H7.508Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M8.493 6.282V5.912C8.493 5.839 8.515 5.768 8.555 5.707C8.596 5.646 8.654 5.599 8.721 5.571C8.789 5.543 8.863 5.536 8.935 5.55C9.006 5.564 9.072 5.599 9.124 5.651C9.176 5.703 9.211 5.768 9.225 5.84C9.239 5.912 9.232 5.986 9.204 6.054C9.176 6.121 9.129 6.179 9.068 6.219C9.007 6.26 8.936 6.282 8.863 6.282H8.493Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M7.508 7.267V7.636C7.508 7.709 7.487 7.781 7.446 7.842C7.406 7.902 7.348 7.95 7.28 7.978C7.213 8.006 7.139 8.013 7.067 7.999C6.995 7.984 6.929 7.949 6.878 7.898C6.826 7.846 6.791 7.78 6.777 7.708C6.762 7.637 6.77 7.562 6.798 7.495C6.826 7.427 6.873 7.37 6.934 7.329C6.994 7.289 7.066 7.267 7.139 7.267H7.508Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/><path d="M8.493 7.267V7.636C8.493 7.709 8.515 7.781 8.555 7.842C8.596 7.902 8.654 7.95 8.721 7.978C8.789 8.006 8.863 8.013 8.935 7.999C9.006 7.984 9.072 7.949 9.124 7.898C9.176 7.846 9.211 7.78 9.225 7.708C9.239 7.637 9.232 7.562 9.204 7.495C9.176 7.427 9.129 7.37 9.068 7.329C9.007 7.289 8.936 7.267 8.863 7.267H8.493Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.182"/></svg>

Paste it into HTML. It draws in currentColor, so it takes the colour of the text around it.