Warning Diamond Icon
Free SVG icon from the Pixelarticons collection. Download or copy for use in any project.
The Warning Diamond icon is commonly used in form validation, system alerts and error messages. Available as a free SVG - copy the code or download directly.
img tag
<img src="https://proicons.com/icon/313339.svg" alt="Warning Diamond icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/313339.svg" alt="Warning Diamond icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/313339.svg" alt="Warning Diamond icon" :width="24" :height="24" />
CSS background
.icon-warning-diamond {
background-image: url('https://proicons.com/icon/313339.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"> <path d="M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z"/> </svg>
Warning Diamond in other icon packs
Copied!