Skip to content
DeployDeployIcons
Warning icon

Warning

warning

From Phosphor Icons, redistributed under the MIT licence. Available at all 6 weights.

Also called

alert · caution · error · danger · attention

Weights

  • Warning, ThinThin
  • Warning, LightLight
  • Warning, RegularRegular
  • Warning, BoldBold
  • Warning, FillFill
  • Warning, DuotoneDuotone

Use it

React
import { RegularWarning } from 'onebit-icon-react';

<RegularWarning size={24} />
SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="24" height="24" fill="none"><path d="M142.41,40.22l87.46,151.87C236,202.79,228.08,216,215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22C119.89,29.26,136.11,29.26,142.41,40.22Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><line x1="128" y1="144" x2="128" y2="104" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"/><circle cx="128" cy="180" r="12"/></svg>
CSS mask
.icon-warning {
  width: 24px; height: 24px;
  background: currentColor;
  mask: url("https://icons.onebit.ng/icons/regular-warning.svg") center / contain no-repeat;
}

More in Security & Privacy

← All Security & Privacy iconsBrowse by categoryBrowse all icons