Xmark icon
f7:xmark
The Xmark icon (f7:xmark) is a free SVG icon from the Framework7 Icons set by Vladimir Kharlampidi. It is drawn on a 56 × 56 grid. Framework7 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
- Framework7 Icons
- Author
- Vladimir Kharlampidi
- License
- MIT
- Size
- 56 × 56
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56"><path fill="currentColor" d="M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z"/></svg>How to use the Xmark icon
React
import { Icon } from "@iconify/react";
<Icon icon="f7:xmark" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="f7:xmark" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="f7:xmark" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[f7--xmark]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/f7 -->
<div class="i-f7:xmark"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="f7:xmark"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/f7/xmark.svg" alt="Xmark icon" width="24" height="24">Related icons in Framework7 Icons
Xmark icon in other icon sets
Xmark icon FAQ
Is the Xmark icon free for commercial use?
Yes. Framework7 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Xmark icon in React?
Install @iconify/react and render <Icon icon="f7:xmark" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Xmark icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/f7/xmark.svg" alt="Xmark icon">, or paste the SVG code inline to style it with CSS.