ICONYZ
English
Warning icon from Mono Icons

Warning icon

mi:warning

The Warning icon (mi:warning) is a free SVG icon from the Mono Icons set by Mono. It is drawn on a 24 × 24 grid. Mono 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
Mono Icons
Author
Mono
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M12 14a1 1 0 0 1-1-1v-3a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1m-1.5 2.5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0"/><path d="M10.23 3.216c.75-1.425 2.79-1.425 3.54 0l8.343 15.852C22.814 20.4 21.85 22 20.343 22H3.657c-1.505 0-2.47-1.6-1.77-2.931zM20.344 20L12 4.147L3.656 20z"/></g></svg>

How to use the Warning icon

React

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

<Icon icon="mi:warning" width="24" />

Vue

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

<template>
  <Icon icon="mi:warning" width="24" />
</template>

Svelte

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

<Icon icon="mi:warning" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mi:warning"></iconify-icon>

HTML image

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

Warning icon in other icon sets

Warning icon FAQ

Is the Warning icon free for commercial use?

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

How do I use the Warning icon in React?

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

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

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

Browse all Mono Icons →