Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

VS Code Icons · VscVmCompact

Vm Compact icon

A free vm compact icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/vm-compact.json
components/icons/vscode-codicons-vm-compact.tsx
import * as React from "react";

/**
 * Vm Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/vm-compact. Sized in em, colored by currentColor.
 */
export function VscVmCompactIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 12 12"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10 0H2C0.9 0 0 0.9 0 2V8C0 9.1 0.9 10 2 10H4V11H2.5C2.22 11 2 11.22 2 11.5C2 11.78 2.22 12 2.5 12H9.5C9.78 12 10 11.78 10 11.5C10 11.22 9.78 11 9.5 11H8V10H10C11.1 10 12 9.1 12 8V2C12 0.9 11.1 0 10 0ZM7 11H5V10H7V11ZM11 8C11 8.55 10.55 9 10 9H2C1.45 9 1 8.55 1 8V2C1 1.45 1.45 1 2 1H10C10.55 1 11 1.45 11 2V8Z"
      />
    </svg>
  );
}
With react-icons
import { VscVmCompact } from "react-icons/vsc";

export function Example() {
  return <VscVmCompact className="size-5" />;
}
vm-compact.svg
<svg
  viewBox="0 0 12 12"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M10 0H2C0.9 0 0 0.9 0 2V8C0 9.1 0.9 10 2 10H4V11H2.5C2.22 11 2 11.22 2 11.5C2 11.78 2.22 12 2.5 12H9.5C9.78 12 10 11.78 10 11.5C10 11.22 9.78 11 9.5 11H8V10H10C11.1 10 12 9.1 12 8V2C12 0.9 11.1 0 10 0ZM7 11H5V10H7V11ZM11 8C11 8.55 10.55 9 10 9H2C1.45 9 1 8.55 1 8V2C1 1.45 1.45 1 2 1H10C10.55 1 11 1.45 11 2V8Z"
  />
</svg>
Attribution
"Vm Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: