Skip to content

X

The X icon represents a close or cancel button used to dismiss or exit a UI element.

Exports at 24 × 24 px

X icon from SVG Logos
Get Pro

Code

X in your framework

In any framework. Customize it above, and the code follows.

export const XIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 251 256" {...props}>
    <path d="M149.079 108.399L242.33 0h-22.098l-80.97 94.12L74.59 0H0l97.796 142.328L0 256h22.1l85.507-99.395L175.905 256h74.59L149.073 108.399zM118.81 143.58l-9.909-14.172l-78.84-112.773h33.943l63.625 91.011l9.909 14.173l82.705 118.3H186.3l-67.49-96.533z"/>
  </svg>
);

SVG Logos

Icons that share its tags, in the same style.

  • Close icon from SVG Logos
  • Htmx Icon icon from SVG Logos
  • Mantine Icon icon from SVG Logos
  • Pixate icon from SVG Logos
  • Solid icon from SVG Logos
  • Solidjs Icon icon from SVG Logos
  • Storybook Icon icon from SVG Logos
  • Adobe Icon icon from SVG Logos
  • Adobe Illustrator icon from SVG Logos
  • Adobe Incopy icon from SVG Logos
  • Adobe Indesign icon from SVG Logos
  • Adobe Lightroom icon from SVG Logos
  • Adobe Photoshop icon from SVG Logos
  • Adobe Premiere icon from SVG Logos
  • Adobe Xd icon from SVG Logos
  • Adonisjs icon from SVG Logos
  • Adonisjs Icon icon from SVG Logos
  • Alpinejs Icon icon from SVG Logos
  • Appbase icon from SVG Logos
  • Appbaseio icon from SVG Logos
  • Appbaseio Icon icon from SVG Logos
  • Appcelerator icon from SVG Logos
  • Appcenter icon from SVG Logos
  • Appcenter Icon icon from SVG Logos

Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.

Get Pro

Tags

Browse by tag

X is tagged UI, delete, cancel and 3 more. Related tags follow; each opens its icons from every library.

Pricing

SVG Logos MCP, with Pro

Ask for X or any of 2,063 SVG Logos icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the X icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install X from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro