Alert Triangle icon
boxicons:alert-triangle
The Alert Triangle icon (boxicons:alert-triangle) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11 9h2v6h-2zm0 8h2v2h-2z"/><path fill="currentColor" d="M12.87 2.51c-.35-.63-1.4-.63-1.75 0l-9.99 18c-.17.31-.17.69.01.99c.18.31.51.49.86.49h20c.35 0 .68-.19.86-.49a1 1 0 0 0 .01-.99zM3.7 20L12 5.06L20.3 20z"/></svg>How to use the Alert Triangle icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:alert-triangle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:alert-triangle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:alert-triangle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--alert-triangle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:alert-triangle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:alert-triangle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/alert-triangle.svg" alt="Alert Triangle icon" width="24" height="24">Related icons in Boxicons
Alert Triangle icon in other icon sets
Alert Triangle icon FAQ
Is the Alert Triangle icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Alert Triangle icon in React?
Install @iconify/react and render <Icon icon="boxicons:alert-triangle" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Alert Triangle icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/alert-triangle.svg" alt="Alert Triangle icon">, or paste the SVG code inline to style it with CSS.