Warning Light icon
ph:warning-light
The Warning Light icon (ph:warning-light) 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, warninglight
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M235.07 189.09L147.61 37.22a22.75 22.75 0 0 0-39.22 0L20.93 189.09a21.53 21.53 0 0 0 0 21.72A22.35 22.35 0 0 0 40.55 222h174.9a22.35 22.35 0 0 0 19.6-11.19a21.53 21.53 0 0 0 .02-21.72m-10.41 15.71a10.46 10.46 0 0 1-9.21 5.2H40.55a10.46 10.46 0 0 1-9.21-5.2a9.51 9.51 0 0 1 0-9.72l87.45-151.87a10.75 10.75 0 0 1 18.42 0l87.46 151.87a9.51 9.51 0 0 1-.01 9.72M122 144v-40a6 6 0 0 1 12 0v40a6 6 0 0 1-12 0m16 36a10 10 0 1 1-10-10a10 10 0 0 1 10 10"/></svg>How to use the Warning Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:warning-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:warning-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:warning-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--warning-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:warning-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:warning-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/warning-light.svg" alt="Warning Light icon" width="24" height="24">Related icons in Phosphor
warning
warning-bold
warning-circle
warning-circle-bold
warning-circle-duotone
warning-circle-fill
warning-circle-light
warning-circle-thin
warning-diamond
warning-diamond-bold
warning-diamond-duotone
warning-diamond-fill
warning-diamond-light
warning-diamond-thin
warning-duotone
warning-fill
warning-octagon
warning-octagon-bold
warning-octagon-duotone
warning-octagon-fill
warning-octagon-light
warning-octagon-thin
warning-thin
Warning Light icon FAQ
Is the Warning Light 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 Light icon in React?
Install @iconify/react and render <Icon icon="ph:warning-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Warning Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/warning-light.svg" alt="Warning Light icon">, or paste the SVG code inline to style it with CSS.