Warning Square icon
ix:warning-square
The Warning Square icon (ix:warning-square) is a free SVG icon from the Siemens Industrial Experience Icons set by Siemens AG. It is drawn on a 24 × 24 grid. Siemens Industrial Experience 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
- Siemens Industrial Experience Icons
- Author
- Siemens AG
- License
- MIT
- Size
- 24 × 24
- Tags
- warningsquare
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 21H3V3h18zM5 19h14V5H5zm7-4.25c.714 0 1.25.528 1.25 1.248s-.536 1.248-1.25 1.248c-.73 0-1.25-.528-1.25-1.264c0-.704.536-1.232 1.25-1.232M13 13h-2V7h2z"/></svg>How to use the Warning Square icon
React
import { Icon } from "@iconify/react";
<Icon icon="ix:warning-square" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ix:warning-square" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ix:warning-square" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ix--warning-square]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ix -->
<div class="i-ix:warning-square"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ix:warning-square"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ix/warning-square.svg" alt="Warning Square icon" width="24" height="24">Related icons in Siemens Industrial Experience Icons
Warning Square icon in other icon sets
Warning Square icon FAQ
Is the Warning Square icon free for commercial use?
Yes. Siemens Industrial Experience Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Warning Square icon in React?
Install @iconify/react and render <Icon icon="ix:warning-square" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Warning Square icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ix/warning-square.svg" alt="Warning Square icon">, or paste the SVG code inline to style it with CSS.