command icon

command from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.

Name
command
Set
Phosphor
Style
Regular
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Use the command icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40"/></svg>

React

import type { SVGProps } from "react";

export function PhCommand(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40"/></svg>
</template>

CSS

.icon-command {
  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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M180%20144h-20v-32h20a36%2036%200%201%200-36-36v20h-32V76a36%2036%200%201%200-36%2036h20v32H76a36%2036%200%201%200%2036%2036v-20h32v20a36%2036%200%201%200%2036-36m-20-68a20%2020%200%201%201%2020%2020h-20ZM56%2076a20%2020%200%200%201%2040%200v20H76a20%2020%200%200%201-20-20m40%20104a20%2020%200%201%201-20-20h20Zm16-68h32v32h-32Zm68%2088a20%2020%200%200%201-20-20v-20h20a20%2020%200%200%201%200%2040%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M180%20144h-20v-32h20a36%2036%200%201%200-36-36v20h-32V76a36%2036%200%201%200-36%2036h20v32H76a36%2036%200%201%200%2036%2036v-20h32v20a36%2036%200%201%200%2036-36m-20-68a20%2020%200%201%201%2020%2020h-20ZM56%2076a20%2020%200%200%201%2040%200v20H76a20%2020%200%200%201-20-20m40%20104a20%2020%200%201%201-20-20h20Zm16-68h32v32h-32Zm68%2088a20%2020%200%200%201-20-20v-20h20a20%2020%200%200%201%200%2040%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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