ICONYZ
English
Warning Octagon icon from Phosphor

Warning Octagon icon

ph:warning-octagon

The Warning Octagon icon (ph:warning-octagon) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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.

Icon set
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
alert, danger, dangerous, caution, errors, 8, eight, warningoctagon
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M120 136V80a8 8 0 0 1 16 0v56a8 8 0 0 1-16 0m112-44.45v72.9a15.86 15.86 0 0 1-4.69 11.31l-51.55 51.55a15.86 15.86 0 0 1-11.31 4.69h-72.9a15.86 15.86 0 0 1-11.31-4.69l-51.55-51.55A15.86 15.86 0 0 1 24 164.45v-72.9a15.86 15.86 0 0 1 4.69-11.31l51.55-51.55A15.86 15.86 0 0 1 91.55 24h72.9a15.86 15.86 0 0 1 11.31 4.69l51.55 51.55A15.86 15.86 0 0 1 232 91.55m-16 0L164.45 40h-72.9L40 91.55v72.9L91.55 216h72.9L216 164.45ZM128 160a12 12 0 1 0 12 12a12 12 0 0 0-12-12"/></svg>

How to use the Warning Octagon icon

React

import { Icon } from "@iconify/react";

<Icon icon="ph:warning-octagon" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="ph:warning-octagon" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="ph:warning-octagon" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--warning-octagon]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:warning-octagon"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="ph:warning-octagon"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/warning-octagon.svg" alt="Warning Octagon icon" width="24" height="24">

Related icons in Phosphor

Warning Octagon icon in other icon sets

Warning Octagon icon FAQ

Is the Warning Octagon icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Warning Octagon icon in React?

Install @iconify/react and render <Icon icon="ph:warning-octagon" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Warning Octagon icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/warning-octagon.svg" alt="Warning Octagon icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →