Skip to content

X

The x icon represents a universal symbol for 'close' or 'cancel', widely used in digital interfaces.

Exports at 18 × 24 px

X icon from Font Awesome 6 Solid
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="18" height="24" viewBox="0 0 384 512" {...props}>
    <path fill="currentColor" d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206L56.6 43.5c-11.3-13.6-31.5-15.4-45.1-4.1S-3.9 70.9 7.4 84.5L150.3 256L7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306l135.4 162.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256z"/>
  </svg>
);

Font Awesome 6 Solid

Icons that share its tags, in the same style.

  • Xmark icon from Font Awesome 6 Solid
  • Circle Xmark icon from Font Awesome 6 Solid
  • Square Xmark icon from Font Awesome 6 Solid
  • Bridge Circle Xmark icon from Font Awesome 6 Solid
  • Cross icon from Font Awesome 6 Solid
  • Rectangle Xmark icon from Font Awesome 6 Solid
  • Sack Xmark icon from Font Awesome 6 Solid
  • User Xmark icon from Font Awesome 6 Solid
  • File Circle Xmark icon from Font Awesome 6 Solid
  • User Slash icon from Font Awesome 6 Solid
  • Circle Minus icon from Font Awesome 6 Solid
  • Delete Left icon from Font Awesome 6 Solid
  • Filter Circle Xmark icon from Font Awesome 6 Solid
  • Square Minus icon from Font Awesome 6 Solid
  • Anchor Circle Xmark icon from Font Awesome 6 Solid
  • Eraser icon from Font Awesome 6 Solid
  • File Circle Minus icon from Font Awesome 6 Solid
  • Person Circle Minus icon from Font Awesome 6 Solid
  • School Circle Xmark icon from Font Awesome 6 Solid
  • Shop Slash icon from Font Awesome 6 Solid
  • User Minus icon from Font Awesome 6 Solid
  • Arrow Pointer icon from Font Awesome 6 Solid
  • Arrow Right icon from Font Awesome 6 Solid
  • Arrow Right Arrow Left icon from Font Awesome 6 Solid

Skip the copy and paste. With Pro, your AI agent finds and installs any Font Awesome 6 Solid icon from a prompt.

Get Pro

Pricing

Font Awesome 6 Solid MCP, with Pro

Ask for X or any of 1,407 Font Awesome 6 Solid 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