Warning icon
uiw:warning
The Warning icon (uiw:warning) is a free SVG icon from the uiw icons set by liwen0526. It is drawn on a 20 × 20 grid. uiw icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M19.59 15.86L12.007 1.924C11.515 1.011 10.779.5 9.989.5s-1.515.521-2.016 1.434L.409 15.861c-.49.901-.544 1.825-.138 2.53c.405.707 1.216 1.109 2.219 1.109h15.02c1.003 0 1.814-.402 2.22-1.108c.405-.706.351-1.619-.14-2.531M10 4.857c.395 0 .715.326.715.728v6.583c0 .402-.32.728-.715.728a.72.72 0 0 1-.715-.728V5.584c0-.391.32-.728.715-.728m0 11.624c-.619 0-1.11-.51-1.11-1.14s.502-1.141 1.11-1.141c.619 0 1.11.51 1.11 1.14S10.607 16.48 10 16.48"/></svg>How to use the Warning icon
React
import { Icon } from "@iconify/react";
<Icon icon="uiw:warning" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uiw:warning" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uiw:warning" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uiw--warning]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uiw -->
<div class="i-uiw:warning"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uiw:warning"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uiw/warning.svg" alt="Warning icon" width="24" height="24">Related icons in uiw icons
Warning icon in other icon sets
Warning icon FAQ
Is the Warning icon free for commercial use?
Yes. uiw icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Warning icon in React?
Install @iconify/react and render <Icon icon="uiw:warning" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Warning icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uiw/warning.svg" alt="Warning icon">, or paste the SVG code inline to style it with CSS.