Octagon Warning icon
ci:octagon-warning
The Octagon Warning icon (ci:octagon-warning) is a free SVG icon from the coolicons set by Kryston Schwarze. It is drawn on a 24 × 24 grid. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- coolicons
- Author
- Kryston Schwarze
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- Warning
- Tags
- octagonwarning
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8.45v4M7.332 3.938L3.938 7.332l-.004.003c-.343.343-.516.516-.64.717q-.164.27-.239.578C3 8.86 3 9.105 3 9.594v4.812c0 .489 0 .733.055.964a2 2 0 0 0 .24.578c.124.201.297.375.643.72l3.394 3.395c.346.346.518.518.72.642q.27.165.578.24c.23.055.474.055.962.055h4.816c.487 0 .732 0 .962-.055c.204-.05.4-.13.578-.24c.202-.124.375-.296.72-.642l3.395-3.394c.346-.346.519-.52.642-.721q.165-.271.24-.578c.055-.23.055-.475.055-.964V9.594c0-.489 0-.733-.056-.964a2 2 0 0 0-.239-.578c-.123-.202-.296-.374-.642-.72L16.67 3.938c-.346-.346-.519-.52-.72-.643a2 2 0 0 0-.579-.24C15.14 3 14.895 3 14.405 3H9.594c-.49 0-.734 0-.964.055q-.308.075-.578.24c-.2.122-.37.293-.71.633zM12.05 15.45v.1h-.1v-.1z"/></svg>How to use the Octagon Warning icon
React
import { Icon } from "@iconify/react";
<Icon icon="ci:octagon-warning" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ci:octagon-warning" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ci:octagon-warning" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ci--octagon-warning]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ci -->
<div class="i-ci:octagon-warning"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ci:octagon-warning"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ci/octagon-warning.svg" alt="Octagon Warning icon" width="24" height="24">Related icons in coolicons
Octagon Warning icon in other icon sets
Octagon Warning icon FAQ
Is the Octagon Warning icon free for commercial use?
Yes. coolicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Octagon Warning icon in React?
Install @iconify/react and render <Icon icon="ci:octagon-warning" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Octagon Warning icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ci/octagon-warning.svg" alt="Octagon Warning icon">, or paste the SVG code inline to style it with CSS.