ICONYZ
English
Octagon Xmark icon from Gravity UI Icons

Octagon Xmark icon

gravity-ui:octagon-xmark

The Octagon Xmark icon (gravity-ui:octagon-xmark) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI 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
Gravity UI Icons
Author
YANDEX LLC
License
MIT
Size
24 × 24
Tags
octagonxmark
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M5.829 2.5h4.342a.5.5 0 0 1 .354.146l2.829 2.829a.5.5 0 0 1 .146.353v4.344a.5.5 0 0 1-.146.353l-2.829 2.829a.5.5 0 0 1-.354.146H5.83a.5.5 0 0 1-.354-.146l-2.829-2.829a.5.5 0 0 1-.146-.354V5.829a.5.5 0 0 1 .147-.353l2.828-2.829a.5.5 0 0 1 .354-.146m-1.415-.914A2 2 0 0 1 5.83 1h4.342a2 2 0 0 1 1.415.586l2.828 2.828A2 2 0 0 1 15 5.828v4.343a2 2 0 0 1-.586 1.415l-2.828 2.828A2 2 0 0 1 10.17 15H5.83a2 2 0 0 1-1.415-.586l-2.828-2.828A2 2 0 0 1 1 10.17V5.828a2 2 0 0 1 .586-1.414zM6.53 5.47a.75.75 0 1 0-1.06 1.06L6.94 8L5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94z" clip-rule="evenodd"/></svg>

How to use the Octagon Xmark icon

React

import { Icon } from "@iconify/react";

<Icon icon="gravity-ui:octagon-xmark" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="gravity-ui:octagon-xmark" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="gravity-ui:octagon-xmark" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--octagon-xmark]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:octagon-xmark"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="gravity-ui:octagon-xmark"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/gravity-ui/octagon-xmark.svg" alt="Octagon Xmark icon" width="24" height="24">

Octagon Xmark icon FAQ

Is the Octagon Xmark icon free for commercial use?

Yes. Gravity UI Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Octagon Xmark icon in React?

Install @iconify/react and render <Icon icon="gravity-ui:octagon-xmark" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Octagon Xmark icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gravity-ui/octagon-xmark.svg" alt="Octagon Xmark icon">, or paste the SVG code inline to style it with CSS.

Browse all Gravity UI Icons →