ICONYZ
English
X Logo icon from Phosphor

X Logo icon

ph:x-logo

The X Logo icon (ph:x-logo) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
twitter, logos, social media, tweets, xlogo
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="m214.75 211.71l-62.6-98.38l61.77-67.95a8 8 0 0 0-11.84-10.76l-58.84 64.72l-40.49-63.63A8 8 0 0 0 96 32H48a8 8 0 0 0-6.75 12.3l62.6 98.37l-61.77 68a8 8 0 1 0 11.84 10.76l58.84-64.72l40.49 63.63A8 8 0 0 0 160 224h48a8 8 0 0 0 6.75-12.29M164.39 208L62.57 48h29l101.86 160Z"/></svg>

How to use the X Logo icon

React

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

<Icon icon="ph:x-logo" width="24" />

Vue

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

<template>
  <Icon icon="ph:x-logo" width="24" />
</template>

Svelte

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

<Icon icon="ph:x-logo" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--x-logo]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:x-logo"></div>

Web component

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

<iconify-icon icon="ph:x-logo"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/x-logo.svg" alt="X Logo icon" width="24" height="24">

Related icons in Phosphor

X Logo icon in other icon sets

X Logo icon FAQ

Is the X Logo icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the X Logo icon in React?

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

How do I add the X Logo icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/x-logo.svg" alt="X Logo icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →