Exclamation Triangle icon
prime:exclamation-triangle
The Exclamation Triangle icon (prime:exclamation-triangle) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
- Prime Icons
- Author
- PrimeTek
- License
- MIT
- Size
- 24 × 24
- Tags
- exclamationtriangle
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 18.75H4a.76.76 0 0 1-.65-.37a.77.77 0 0 1 0-.75l8-14a.78.78 0 0 1 1.3 0l8 14a.77.77 0 0 1 0 .75a.76.76 0 0 1-.65.37m-14.71-1.5h13.42L12 5.51Z"/><path fill="currentColor" d="M12 13.25a.76.76 0 0 1-.75-.75V9a.75.75 0 0 1 1.5 0v3.5a.76.76 0 0 1-.75.75m0 3a.76.76 0 0 1-.75-.75V15a.75.75 0 0 1 1.5 0v.5a.76.76 0 0 1-.75.75"/></svg>How to use the Exclamation Triangle icon
React
import { Icon } from "@iconify/react";
<Icon icon="prime:exclamation-triangle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="prime:exclamation-triangle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="prime:exclamation-triangle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--exclamation-triangle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:exclamation-triangle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="prime:exclamation-triangle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/prime/exclamation-triangle.svg" alt="Exclamation Triangle icon" width="24" height="24">Related icons in Prime Icons
Exclamation Triangle icon in other icon sets
Exclamation Triangle icon FAQ
Is the Exclamation Triangle icon free for commercial use?
Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Exclamation Triangle icon in React?
Install @iconify/react and render <Icon icon="prime:exclamation-triangle" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Exclamation Triangle icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/exclamation-triangle.svg" alt="Exclamation Triangle icon">, or paste the SVG code inline to style it with CSS.