File Xmark icon
gravity-ui:file-xmark
The File Xmark icon (gravity-ui:file-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
- filexmark
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="M12.5 12a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 12V4A1.5 1.5 0 0 1 5 2.5h2.757a1.5 1.5 0 0 1 1.061.44l3.243 3.242a1.5 1.5 0 0 1 .439 1.06zm.621-6.879A3 3 0 0 1 14 7.243V12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h2.757a3 3 0 0 1 2.122.879zM6.781 6.72A.75.75 0 0 0 5.72 7.78L6.94 9l-1.22 1.22a.75.75 0 1 0 1.06 1.06L8 10.06l1.22 1.22a.75.75 0 1 0 1.06-1.06L9.06 9l1.22-1.22a.75.75 0 1 0-1.06-1.06L8 7.94z" clip-rule="evenodd"/></svg>How to use the File Xmark icon
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:file-xmark" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:file-xmark" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:file-xmark" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--file-xmark]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:file-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:file-xmark"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gravity-ui/file-xmark.svg" alt="File Xmark icon" width="24" height="24">Related icons in Gravity UI Icons
File Xmark icon in other icon sets
File Xmark icon FAQ
Is the File 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 File Xmark icon in React?
Install @iconify/react and render <Icon icon="gravity-ui:file-xmark" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Xmark icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gravity-ui/file-xmark.svg" alt="File Xmark icon">, or paste the SVG code inline to style it with CSS.