Octagon X icon
hugeicons:octagon-x
The Octagon X icon (hugeicons:octagon-x) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- octagonx
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m15 9l-6 6m0-6l6 6m-2.314 7h-1.372c-1.635 0-2.453 0-3.188-.305c-.735-.304-1.313-.882-2.47-2.038l-1.313-1.314c-1.156-1.156-1.734-1.734-2.039-2.47C2 15.14 2 14.322 2 12.687v-1.372c0-1.635 0-2.453.304-3.188c.305-.735.883-1.313 2.04-2.47l1.313-1.313c1.156-1.157 1.733-1.734 2.47-2.04C8.86 2 9.678 2 11.313 2h1.372c1.635 0 2.453 0 3.188.304c.735.305 1.313.883 2.47 2.04l1.313 1.313c1.156 1.156 1.734 1.734 2.038 2.47C22 8.86 22 9.678 22 11.313v1.372c0 1.635 0 2.453-.305 3.188c-.304.735-.882 1.313-2.038 2.47l-1.314 1.313c-1.156 1.156-1.734 1.734-2.47 2.038c-.734.305-1.552.305-3.187.305"/></svg>How to use the Octagon X icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:octagon-x" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:octagon-x" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:octagon-x" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--octagon-x]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:octagon-x"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:octagon-x"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/octagon-x.svg" alt="Octagon X icon" width="24" height="24">Related icons in Huge Icons
Octagon X icon in other icon sets
Octagon X icon FAQ
Is the Octagon X icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Octagon X icon in React?
Install @iconify/react and render <Icon icon="hugeicons:octagon-x" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Octagon X icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/octagon-x.svg" alt="Octagon X icon">, or paste the SVG code inline to style it with CSS.