warning compact icon

warning-compact from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
warning-compact
Set
Codicons
Style
Regular
Viewbox
12×12
License
CC BY 4.0

Use the warning compact icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="m10.79 8.11l-3-6a2 2 0 0 0-3.58 0l-3 6C1.07 8.39 1 8.69 1 9c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2c0-.31-.07-.61-.21-.89M9 10H3c-.55 0-1-.45-1-1c0-.16.04-.31.1-.45l3-6c.17-.34.51-.55.9-.55s.72.21.9.55l3 6c.07.14.1.29.1.45c0 .55-.45 1-1 1M6.75 8.5c0 .41-.34.75-.75.75s-.75-.34-.75-.75s.34-.75.75-.75s.75.34.75.75m-1.25-2V4c0-.28.22-.5.5-.5s.5.22.5.5v2.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5"/></svg>

React

import type { SVGProps } from "react";

export function CodiconWarningCompact(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="m10.79 8.11l-3-6a2 2 0 0 0-3.58 0l-3 6C1.07 8.39 1 8.69 1 9c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2c0-.31-.07-.61-.21-.89M9 10H3c-.55 0-1-.45-1-1c0-.16.04-.31.1-.45l3-6c.17-.34.51-.55.9-.55s.72.21.9.55l3 6c.07.14.1.29.1.45c0 .55-.45 1-1 1M6.75 8.5c0 .41-.34.75-.75.75s-.75-.34-.75-.75s.34-.75.75-.75s.75.34.75.75m-1.25-2V4c0-.28.22-.5.5-.5s.5.22.5.5v2.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 12"><path fill="currentColor" d="m10.79 8.11l-3-6a2 2 0 0 0-3.58 0l-3 6C1.07 8.39 1 8.69 1 9c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2c0-.31-.07-.61-.21-.89M9 10H3c-.55 0-1-.45-1-1c0-.16.04-.31.1-.45l3-6c.17-.34.51-.55.9-.55s.72.21.9.55l3 6c.07.14.1.29.1.45c0 .55-.45 1-1 1M6.75 8.5c0 .41-.34.75-.75.75s-.75-.34-.75-.75s.34-.75.75-.75s.75.34.75.75m-1.25-2V4c0-.28.22-.5.5-.5s.5.22.5.5v2.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5"/></svg>
</template>

CSS

.icon-warning-compact {
  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%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m10.79%208.11l-3-6a2%202%200%200%200-3.58%200l-3%206C1.07%208.39%201%208.69%201%209c0%201.1.9%202%202%202h6c1.1%200%202-.9%202-2c0-.31-.07-.61-.21-.89M9%2010H3c-.55%200-1-.45-1-1c0-.16.04-.31.1-.45l3-6c.17-.34.51-.55.9-.55s.72.21.9.55l3%206c.07.14.1.29.1.45c0%20.55-.45%201-1%201M6.75%208.5c0%20.41-.34.75-.75.75s-.75-.34-.75-.75s.34-.75.75-.75s.75.34.75.75m-1.25-2V4c0-.28.22-.5.5-.5s.5.22.5.5v2.5c0%20.28-.22.5-.5.5s-.5-.22-.5-.5%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%2012%2012%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22m10.79%208.11l-3-6a2%202%200%200%200-3.58%200l-3%206C1.07%208.39%201%208.69%201%209c0%201.1.9%202%202%202h6c1.1%200%202-.9%202-2c0-.31-.07-.61-.21-.89M9%2010H3c-.55%200-1-.45-1-1c0-.16.04-.31.1-.45l3-6c.17-.34.51-.55.9-.55s.72.21.9.55l3%206c.07.14.1.29.1.45c0%20.55-.45%201-1%201M6.75%208.5c0%20.41-.34.75-.75.75s-.75-.34-.75-.75s.34-.75.75-.75s.75.34.75.75m-1.25-2V4c0-.28.22-.5.5-.5s.5.22.5.5v2.5c0%20.28-.22.5-.5.5s-.5-.22-.5-.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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