warning diamond icon

warning-diamond from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.

Name
warning-diamond
Set
Phosphor
Style
Regular
Viewbox
256×256
License
MIT

5 other variants in Phosphor

The same icon in other sets

Related icons in Phosphor

Use the warning diamond icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12a12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0l-96-96l-96 96l96 96Z"/></svg>

React

import type { SVGProps } from "react";

export function PhWarningDiamond(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12a12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0l-96-96l-96 96l96 96Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12a12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0l-96-96l-96 96l96 96Z"/></svg>
</template>

CSS

.icon-warning-diamond {
  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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M128%2072a8%208%200%200%201%208%208v56a8%208%200%200%201-16%200V80a8%208%200%200%201%208-8m-12%20100a12%2012%200%201%200%2012-12a12%2012%200%200%200-12%2012m124-44a15.85%2015.85%200%200%201-4.67%2011.28l-96.05%2096.06a16%2016%200%200%201-22.56%200l-96-96.06a16%2016%200%200%201%200-22.56l96.05-96.06a16%2016%200%200%201%2022.56%200l96.05%2096.06A15.85%2015.85%200%200%201%20240%20128m-16%200l-96-96l-96%2096l96%2096Z%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%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M128%2072a8%208%200%200%201%208%208v56a8%208%200%200%201-16%200V80a8%208%200%200%201%208-8m-12%20100a12%2012%200%201%200%2012-12a12%2012%200%200%200-12%2012m124-44a15.85%2015.85%200%200%201-4.67%2011.28l-96.05%2096.06a16%2016%200%200%201-22.56%200l-96-96.06a16%2016%200%200%201%200-22.56l96.05-96.06a16%2016%200%200%201%2022.56%200l96.05%2096.06A15.85%2015.85%200%200%201%20240%20128m-16%200l-96-96l-96%2096l96%2096Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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