Skip to content

X

The x icon represents a close or cancel button.

Exports at 24 × 24 px

X icon from Font Awesome 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="24" height="24" viewBox="0 0 640 640" {...props}>
    <path fill="currentColor" d="M504.6 148.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L320 270L184.6 107.5c-11.3-13.6-31.5-15.4-45.1-4.1s-15.4 31.5-4.1 45.1L278.3 320L135.4 491.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L320 370l135.4 162.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L361.7 320z"/>
  </svg>
);

Font Awesome Solid

Icons that share its tags, in the same style.

  • Xmark icon from Font Awesome Solid
  • Xmark Circle icon from Font Awesome Solid
  • Xmarks Lines icon from Font Awesome Solid
  • Xmark Square icon from Font Awesome Solid
  • Close icon from Font Awesome Solid
  • Multiply icon from Font Awesome Solid
  • Cross icon from Font Awesome Solid
  • Rectangle Times icon from Font Awesome Solid
  • Rectangle Xmark icon from Font Awesome Solid
  • Square Xmark icon from Font Awesome Solid
  • Times icon from Font Awesome Solid
  • Times Rectangle icon from Font Awesome Solid
  • Times Square icon from Font Awesome Solid
  • Window Close icon from Font Awesome Solid
  • Delete Left icon from Font Awesome Solid
  • Cancel icon from Font Awesome Solid
  • Remove icon from Font Awesome Solid
  • Times Circle icon from Font Awesome Solid
  • User Times icon from Font Awesome Solid
  • Circle Xmark icon from Font Awesome Solid
  • Comment Slash icon from Font Awesome Solid
  • Eject icon from Font Awesome Solid
  • File Circle Xmark icon from Font Awesome Solid
  • Sack Xmark icon from Font Awesome Solid

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

Get Pro

Pricing

Font Awesome Solid MCP, with Pro

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