Skip to content
Cuelark UI

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

VS Code Icons · VscErrorCompact

Error Compact icon

A free error 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/error-compact.json
components/icons/vscode-codicons-error-compact.tsx
import * as React from "react";

/**
 * Error Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/error-compact. Sized in em, colored by currentColor.
 */
export function VscErrorCompactIcon(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="M6 0C2.691 0 0 2.691 0 6C0 9.309 2.691 12 6 12C9.309 12 12 9.309 12 6C12 2.691 9.309 0 6 0ZM6 11C3.243 11 1 8.757 1 6C1 3.243 3.243 1 6 1C8.757 1 11 3.243 11 6C11 8.757 8.757 11 6 11ZM8.354 4.354L6.708 6L8.354 7.646C8.549 7.841 8.549 8.158 8.354 8.353C8.256 8.451 8.128 8.499 8 8.499C7.872 8.499 7.744 8.45 7.646 8.353L6 6.707L4.354 8.353C4.256 8.451 4.128 8.499 4 8.499C3.872 8.499 3.744 8.45 3.646 8.353C3.451 8.158 3.451 7.841 3.646 7.646L5.292 6L3.646 4.354C3.451 4.159 3.451 3.842 3.646 3.647C3.841 3.452 4.158 3.452 4.353 3.647L5.999 5.293L7.645 3.647C7.84 3.452 8.157 3.452 8.352 3.647C8.547 3.842 8.547 4.159 8.352 4.354H8.354Z"
      />
    </svg>
  );
}
With react-icons
import { VscErrorCompact } from "react-icons/vsc";

export function Example() {
  return <VscErrorCompact className="size-5" />;
}
error-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="M6 0C2.691 0 0 2.691 0 6C0 9.309 2.691 12 6 12C9.309 12 12 9.309 12 6C12 2.691 9.309 0 6 0ZM6 11C3.243 11 1 8.757 1 6C1 3.243 3.243 1 6 1C8.757 1 11 3.243 11 6C11 8.757 8.757 11 6 11ZM8.354 4.354L6.708 6L8.354 7.646C8.549 7.841 8.549 8.158 8.354 8.353C8.256 8.451 8.128 8.499 8 8.499C7.872 8.499 7.744 8.45 7.646 8.353L6 6.707L4.354 8.353C4.256 8.451 4.128 8.499 4 8.499C3.872 8.499 3.744 8.45 3.646 8.353C3.451 8.158 3.451 7.841 3.646 7.646L5.292 6L3.646 4.354C3.451 4.159 3.451 3.842 3.646 3.647C3.841 3.452 4.158 3.452 4.353 3.647L5.999 5.293L7.645 3.647C7.84 3.452 8.157 3.452 8.352 3.647C8.547 3.842 8.547 4.159 8.352 4.354H8.354Z"
  />
</svg>
Attribution
"Error Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: bug, issue, debug, insect