Cross icon
oui:cross
The Cross icon (oui:cross) is a free SVG icon from the OpenSearch UI set by OpenSearch Contributors. It is drawn on a 24 × 24 grid. OpenSearch UI icons are released under the Apache 2.0 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
- OpenSearch UI
- Author
- OpenSearch Contributors
- License
- Apache-2.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.293 8L3.146 3.854a.5.5 0 1 1 .708-.708L8 7.293l4.146-4.147a.5.5 0 0 1 .708.708L8.707 8l4.147 4.146a.5.5 0 0 1-.708.708L8 8.707l-4.146 4.147a.5.5 0 0 1-.708-.708z"/></svg>How to use the Cross icon
React
import { Icon } from "@iconify/react";
<Icon icon="oui:cross" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="oui:cross" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="oui:cross" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[oui--cross]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/oui -->
<div class="i-oui:cross"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="oui:cross"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/oui/cross.svg" alt="Cross icon" width="24" height="24">Related icons in OpenSearch UI
Cross icon in other icon sets
Cross icon FAQ
Is the Cross icon free for commercial use?
Yes. OpenSearch UI icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Cross icon in React?
Install @iconify/react and render <Icon icon="oui:cross" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cross icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/oui/cross.svg" alt="Cross icon">, or paste the SVG code inline to style it with CSS.