ICONYZ
English
Warning Bold icon from Phosphor

Warning Bold icon

ph:warning-bold

The Warning Bold icon (ph:warning-bold) 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, warningbold
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="M240.26 186.1L152.81 34.23a28.74 28.74 0 0 0-49.62 0L15.74 186.1a27.45 27.45 0 0 0 0 27.71A28.31 28.31 0 0 0 40.55 228h174.9a28.31 28.31 0 0 0 24.79-14.19a27.45 27.45 0 0 0 .02-27.71m-20.8 15.7a4.46 4.46 0 0 1-4 2.2H40.55a4.46 4.46 0 0 1-4-2.2a3.56 3.56 0 0 1 0-3.73L124 46.2a4.77 4.77 0 0 1 8 0l87.44 151.87a3.56 3.56 0 0 1 .02 3.73M116 136v-32a12 12 0 0 1 24 0v32a12 12 0 0 1-24 0m28 40a16 16 0 1 1-16-16a16 16 0 0 1 16 16"/></svg>

How to use the Warning Bold icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Phosphor

Warning Bold icon FAQ

Is the Warning Bold 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 Bold icon in React?

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

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

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

Browse all Phosphor icons →