Exclamation Triangle Solid icon
heroicons:exclamation-triangle-solid
The Exclamation Triangle Solid icon (heroicons:exclamation-triangle-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- exclamationtriangle, trianglesolid, exclamationtrianglesolid, exclaimation triangle solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5zM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75m0 8.25a.75.75 0 1 0 0-1.5a.75.75 0 0 0 0 1.5" clip-rule="evenodd"/></svg>How to use the Exclamation Triangle Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:exclamation-triangle-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:exclamation-triangle-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:exclamation-triangle-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--exclamation-triangle-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:exclamation-triangle-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:exclamation-triangle-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/exclamation-triangle-solid.svg" alt="Exclamation Triangle Solid icon" width="24" height="24">Related icons in HeroIcons
Exclamation Triangle Solid icon in other icon sets
Exclamation Triangle Solid icon FAQ
Is the Exclamation Triangle Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Exclamation Triangle Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:exclamation-triangle-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Exclamation Triangle Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/exclamation-triangle-solid.svg" alt="Exclamation Triangle Solid icon">, or paste the SVG code inline to style it with CSS.