Warning Triangle icon
streamline:warning-triangle
The Warning Triangle icon (streamline:warning-triangle) is a free SVG icon from the Streamline set. It is drawn on a 14 × 14 grid. Streamline icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Streamline
- Author
- Streamline
- License
- CC-BY-4.0
- Size
- 14 × 14
- Category
- InterfaceEssential
- Tags
- warningtriangle
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="M7.89 1.05a1 1 0 0 0-1.78 0l-5.5 11a1 1 0 0 0 .89 1.45h11a1 1 0 0 0 .89-1.45zM7 5v3.25"/><path d="M7 11a.25.25 0 1 1 0-.5m0 .5a.25.25 0 1 0 0-.5"/></g></svg>How to use the Warning Triangle icon
React
import { Icon } from "@iconify/react";
<Icon icon="streamline:warning-triangle" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="streamline:warning-triangle" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="streamline:warning-triangle" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[streamline--warning-triangle]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/streamline -->
<div class="i-streamline:warning-triangle"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="streamline:warning-triangle"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/streamline/warning-triangle.svg" alt="Warning Triangle icon" width="24" height="24">Related icons in Streamline
Warning Triangle icon in other icon sets
Warning Triangle icon FAQ
Is the Warning Triangle icon free for commercial use?
Yes. Streamline icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Warning Triangle icon in React?
Install @iconify/react and render <Icon icon="streamline:warning-triangle" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Warning Triangle icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/streamline/warning-triangle.svg" alt="Warning Triangle icon">, or paste the SVG code inline to style it with CSS.