Warning Outline icon
ion:warning-outline
The Warning Outline icon (ion:warning-outline) is a free SVG icon from the IonIcons set by Ben Sperry. It is drawn on a 512 × 512 grid. IonIcons 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.
- Icon set
- IonIcons
- Author
- Ben Sperry
- License
- MIT
- Size
- 512 × 512
- Tags
- warningoutline
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m250.26 195.39l5.74 122l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95"/><path fill="currentColor" d="M256 397.25a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>How to use the Warning Outline icon
React
import { Icon } from "@iconify/react";
<Icon icon="ion:warning-outline" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:warning-outline" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:warning-outline" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--warning-outline]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:warning-outline"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:warning-outline"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ion/warning-outline.svg" alt="Warning Outline icon" width="24" height="24">Related icons in IonIcons
Warning Outline icon in other icon sets
Warning Outline icon FAQ
Is the Warning Outline icon free for commercial use?
Yes. IonIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Warning Outline icon in React?
Install @iconify/react and render <Icon icon="ion:warning-outline" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Warning Outline icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ion/warning-outline.svg" alt="Warning Outline icon">, or paste the SVG code inline to style it with CSS.