Xmark Shape icon
gravity-ui:xmark-shape
The Xmark Shape icon (gravity-ui:xmark-shape) 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
- xmarkshape
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="m8 10.121l2.652 2.652a.25.25 0 0 0 .353 0l1.768-1.768a.25.25 0 0 0 0-.353L10.121 8l2.652-2.652a.25.25 0 0 0 0-.353l-1.768-1.768a.25.25 0 0 0-.353 0L8 5.879L5.348 3.227a.25.25 0 0 0-.353 0L3.227 4.995a.25.25 0 0 0 0 .353L5.879 8l-2.652 2.652a.25.25 0 0 0 0 .353l1.768 1.768a.25.25 0 0 0 .353 0zm0 2.122l1.591 1.59a1.75 1.75 0 0 0 2.475 0l1.768-1.767a1.75 1.75 0 0 0 0-2.475L12.243 8l1.59-1.591a1.75 1.75 0 0 0 0-2.475l-1.767-1.768a1.75 1.75 0 0 0-2.475 0L8 3.757l-1.591-1.59a1.75 1.75 0 0 0-2.475 0L2.166 3.933a1.75 1.75 0 0 0 0 2.475L3.757 8l-1.59 1.591a1.75 1.75 0 0 0 0 2.475l1.767 1.768a1.75 1.75 0 0 0 2.475 0z" clip-rule="evenodd"/></svg>How to use the Xmark Shape icon
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:xmark-shape" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:xmark-shape" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:xmark-shape" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--xmark-shape]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:xmark-shape"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gravity-ui:xmark-shape"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gravity-ui/xmark-shape.svg" alt="Xmark Shape icon" width="24" height="24">Related icons in Gravity UI Icons
Xmark Shape icon FAQ
Is the Xmark Shape 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 Xmark Shape icon in React?
Install @iconify/react and render <Icon icon="gravity-ui:xmark-shape" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Xmark Shape icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gravity-ui/xmark-shape.svg" alt="Xmark Shape icon">, or paste the SVG code inline to style it with CSS.