Exclamation icon
pepicons:exclamation
The Exclamation icon (pepicons:exclamation) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path fill-rule="evenodd" d="M10 2a2 2 0 0 1 2 2v7a2 2 0 1 1-4 0V4a2 2 0 0 1 2-2Z" clip-rule="evenodd"/><path d="M12 16a2 2 0 1 1-4 0a2 2 0 0 1 4 0Z"/></g></svg>How to use the Exclamation icon
React
import { Icon } from "@iconify/react";
<Icon icon="pepicons:exclamation" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pepicons:exclamation" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pepicons:exclamation" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pepicons--exclamation]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pepicons -->
<div class="i-pepicons:exclamation"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pepicons:exclamation"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pepicons/exclamation.svg" alt="Exclamation icon" width="24" height="24">Related icons in Pepicons
Exclamation icon in other icon sets
Exclamation icon FAQ
Is the Exclamation icon free for commercial use?
Yes. Pepicons 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 Exclamation icon in React?
Install @iconify/react and render <Icon icon="pepicons:exclamation" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Exclamation icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pepicons/exclamation.svg" alt="Exclamation icon">, or paste the SVG code inline to style it with CSS.