Logo X icon
carbon:logo-x
The Logo X icon (carbon:logo-x) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M18.234 14.162L26.977 4h-2.072l-7.591 8.824L11.25 4H4.258l9.169 13.343L4.258 28H6.33l8.016-9.318L20.75 28h6.993zm-2.837 3.299l-.93-1.329L7.078 5.56h3.182l5.964 8.532l.93 1.329l7.753 11.09h-3.182z"/></svg>How to use the Logo X icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:logo-x" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:logo-x" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:logo-x" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--logo-x]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:logo-x"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:logo-x"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/logo-x.svg" alt="Logo X icon" width="24" height="24">Related icons in Carbon
logo-angular
logo-ansible-community
logo-astradb
logo-bluesky
logo-digg
logo-discord
logo-facebook
logo-figma
logo-flickr
logo-git
logo-github
logo-gitlab
logo-glassdoor
logo-instagram
logo-invision
logo-jupyter
logo-keybase
logo-kubernetes
logo-linkedin
logo-livestream
logo-mastodon
logo-medium
logo-milvus
logo-model-context-protocol
Logo X icon in other icon sets
Logo X icon FAQ
Is the Logo X icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Logo X icon in React?
Install @iconify/react and render <Icon icon="carbon:logo-x" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Logo X icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/carbon/logo-x.svg" alt="Logo X icon">, or paste the SVG code inline to style it with CSS.