Exclamation Triangle icon
bi:exclamation-triangle
The Exclamation Triangle icon (bi:exclamation-triangle) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- 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"><g fill="currentColor"><path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016a.15.15 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.2.2 0 0 1-.054.06a.1.1 0 0 1-.066.017H1.146a.1.1 0 0 1-.066-.017a.2.2 0 0 1-.054-.06a.18.18 0 0 1 .002-.183L7.884 2.073a.15.15 0 0 1 .054-.057m1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767z"/><path d="M7.002 12a1 1 0 1 1 2 0a1 1 0 0 1-2 0M7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z"/></g></svg>How to use the Exclamation Triangle icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:exclamation-triangle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:exclamation-triangle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:exclamation-triangle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--exclamation-triangle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:exclamation-triangle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:exclamation-triangle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/exclamation-triangle.svg" alt="Exclamation Triangle icon" width="24" height="24">Related icons in Bootstrap Icons
Exclamation Triangle icon in other icon sets
Exclamation Triangle icon FAQ
Is the Exclamation Triangle icon free for commercial use?
Yes. Bootstrap 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="bi: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/bi/exclamation-triangle.svg" alt="Exclamation Triangle icon">, or paste the SVG code inline to style it with CSS.