Octagon X icon
keyline-icons:octagon-x
The Octagon X icon (keyline-icons:octagon-x) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- 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"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 14.5645V9.43553C3 8.77249 3.26339 8.13661 3.73223 7.66777L7.66777 3.73223C8.13661 3.26339 8.77249 3 9.43553 3H14.5645C15.2275 3 15.8634 3.26339 16.3322 3.73223L20.2678 7.66777C20.7366 8.13661 21 8.77249 21 9.43553V14.5645C21 15.2275 20.7366 15.8634 20.2678 16.3322L16.3322 20.2678C15.8634 20.7366 15.2275 21 14.5645 21H9.43553C8.77249 21 8.13661 20.7366 7.66777 20.2678L3.73223 16.3322C3.26339 15.8634 3 15.2275 3 14.5645Z"/><path d="M9 9L15 15M15 9L9 15"/></g></svg>How to use the Octagon X icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:octagon-x" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:octagon-x" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:octagon-x" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--octagon-x]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:octagon-x"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:octagon-x"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/octagon-x.svg" alt="Octagon X icon" width="24" height="24">Related icons in Keyline Icons
octagon-alert
octagon-alert-duotone
octagon-alert-fill
octagon-alert-sharp
octagon-alert-sharp-duotone
octagon-alert-sharp-fill
octagon-alert-sharp-two-tone
octagon-alert-two-tone
octagon-x-duotone
octagon-x-fill
octagon-x-sharp
octagon-x-sharp-duotone
octagon-x-sharp-fill
octagon-x-sharp-two-tone
octagon-x-two-tone
Octagon X icon in other icon sets
Octagon X icon FAQ
Is the Octagon X icon free for commercial use?
Yes. Keyline 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="keyline-icons: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/keyline-icons/octagon-x.svg" alt="Octagon X icon">, or paste the SVG code inline to style it with CSS.