Warning Icon
Free SVG icon from the Carbon Icons collection. Download or copy for use in any project.
The Warning 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/316834.svg" alt="Warning icon" width="24" height="24">
React JSX
<img src="https://proicons.com/icon/316834.svg" alt="Warning icon" width={24} height={24} />
Vue template
<img src="https://proicons.com/icon/316834.svg" alt="Warning icon" :width="24" :height="24" />
CSS background
.icon-warning {
background-image: url('https://proicons.com/icon/316834.svg');
background-size: contain;
background-repeat: no-repeat;
width: 24px;
height: 24px;
display: inline-block;
}
SVG markup
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
</style>
<title>warning</title>
<path d="M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z"/>
<rect x="7.5" y="4" width="1" height="5"/>
<path d="M8,10.2c-0.4,0-0.8,0.3-0.8,0.8s0.3,0.8,0.8,0.8c0.4,0,0.8-0.3,0.8-0.8S8.4,10.2,8,10.2z"/>
<rect id="_Transparent_Rectangle_" class="st0" width="16" height="16"/>
</svg>
Warning in other icon packs
Copied!