ICONYZ
English
Xai icon from Codicons

Xai icon

codicon:xai

The Xai icon (codicon:xai) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M3.241 11.883H.5l.306-.305C2.02 10.406 6.488 6.26 15.5 4.118v.537c-3.956 1.28-8.525 3.474-12.259 7.228"/><path d="M14.714 11.883h-2.148L8.332 8.802A29 29 0 0 1 9.51 8.1zm-3.434 0H9.133l-.652-.474H4.844q.385-.34.778-.662H7.57l-1.008-.734q.54-.402 1.092-.77zM3.464 6.201L5.12 7.405q-.618.364-1.158.717L1.318 6.2z"/></g></svg>

How to use the Xai icon

React

import { Icon } from "@iconify/react";

<Icon icon="codicon:xai" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="codicon:xai" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="codicon:xai" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--xai]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:xai"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="codicon:xai"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/xai.svg" alt="Xai icon" width="24" height="24">

Xai icon in other icon sets

Xai icon FAQ

Is the Xai icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Xai icon in React?

Install @iconify/react and render <Icon icon="codicon:xai" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Xai icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/xai.svg" alt="Xai icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →