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 · VscErrorSmall

Error Small icon

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

/**
 * Error Small from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/error-small. Sized in em, colored by currentColor.
 */
export function VscErrorSmallIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 16 16"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.35355 6.64645C7.15829 6.45118 6.84171 6.45118 6.64645 6.64645C6.45118 6.84171 6.45118 7.15829 6.64645 7.35355L7.29289 8L6.64645 8.64645C6.45118 8.84171 6.45118 9.15829 6.64645 9.35355C6.84171 9.54882 7.15829 9.54882 7.35355 9.35355L8 8.70711L8.64645 9.35355C8.84171 9.54882 9.15829 9.54882 9.35355 9.35355C9.54882 9.15829 9.54882 8.84171 9.35355 8.64645L8.70711 8L9.35355 7.35355C9.54882 7.15829 9.54882 6.84171 9.35355 6.64645C9.15829 6.45118 8.84171 6.45118 8.64645 6.64645L8 7.29289L7.35355 6.64645Z"
      />
      <path
        fillRule="evenodd"
        clipRule="evenodd"
        d="M8 11.9999C10.2091 11.9999 12 10.209 12 7.99988C12 5.79074 10.2091 3.99988 8 3.99988C5.79086 3.99988 4 5.79074 4 7.99988C4 10.209 5.79086 11.9999 8 11.9999ZM8 4.99988C9.65685 4.99988 11 6.34302 11 7.99988C11 9.65673 9.65685 10.9999 8 10.9999C6.34315 10.9999 5 9.65673 5 7.99988C5 6.34302 6.34315 4.99988 8 4.99988Z"
      />
    </svg>
  );
}
With react-icons
import { VscErrorSmall } from "react-icons/vsc";

export function Example() {
  return <VscErrorSmall className="size-5" />;
}
error-small.svg
<svg
  viewBox="0 0 16 16"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M7.35355 6.64645C7.15829 6.45118 6.84171 6.45118 6.64645 6.64645C6.45118 6.84171 6.45118 7.15829 6.64645 7.35355L7.29289 8L6.64645 8.64645C6.45118 8.84171 6.45118 9.15829 6.64645 9.35355C6.84171 9.54882 7.15829 9.54882 7.35355 9.35355L8 8.70711L8.64645 9.35355C8.84171 9.54882 9.15829 9.54882 9.35355 9.35355C9.54882 9.15829 9.54882 8.84171 9.35355 8.64645L8.70711 8L9.35355 7.35355C9.54882 7.15829 9.54882 6.84171 9.35355 6.64645C9.15829 6.45118 8.84171 6.45118 8.64645 6.64645L8 7.29289L7.35355 6.64645Z"
  />
  <path
    fill-rule="evenodd"
    clip-rule="evenodd"
    d="M8 11.9999C10.2091 11.9999 12 10.209 12 7.99988C12 5.79074 10.2091 3.99988 8 3.99988C5.79086 3.99988 4 5.79074 4 7.99988C4 10.209 5.79086 11.9999 8 11.9999ZM8 4.99988C9.65685 4.99988 11 6.34302 11 7.99988C11 9.65673 9.65685 10.9999 8 10.9999C6.34315 10.9999 5 9.65673 5 7.99988C5 6.34302 6.34315 4.99988 8 4.99988Z"
  />
</svg>
Attribution
"Error Small" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: bug, issue, debug, insect