Skip to content

X

The x icon represents a close or cancel button often used in interfaces.

Exports at 24 × 24 px

X icon from Iconoir
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 24 24" fill="none" stroke="currentColor" {...props}>
    <g fill="none" stroke="currentColor" strokeWidth="1.5"><path d="M16.82 20.768L3.753 3.968A.6.6 0 0 1 4.227 3h2.48a.6.6 0 0 1 .473.232l13.067 16.8a.6.6 0 0 1-.474.968h-2.48a.6.6 0 0 1-.473-.232Z"/><path strokeLinecap="round" d="M20 3L4 21"/></g>
  </svg>
);

Iconoir

Icons that share its tags, in the same style.

  • Bubble Xmark icon from Iconoir
  • Window Xmark icon from Iconoir
  • Xmark icon from Iconoir
  • X Square icon from Iconoir
  • Xmark Circle icon from Iconoir
  • Xmark Square icon from Iconoir
  • Web Window Xmark icon from Iconoir
  • Arrow Left Tag icon from Iconoir
  • Arrow Reduce Tag icon from Iconoir
  • Arrow Right icon from Iconoir
  • Arrow Right Circle icon from Iconoir
  • Arrow Right Tag icon from Iconoir
  • Arrow Separate icon from Iconoir
  • Arrow Separate Vertical icon from Iconoir
  • Chat Bubble Xmark icon from Iconoir
  • Database Xmark icon from Iconoir
  • Download icon from Iconoir
  • Download Circle icon from Iconoir
  • Download Data Window icon from Iconoir
  • Download Square icon from Iconoir
  • Drag icon from Iconoir
  • Drag Hand Gesture icon from Iconoir
  • Erase icon from Iconoir
  • Flip icon from Iconoir

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

Get Pro

Pricing

Iconoir MCP, with Pro

Ask for X or any of 1,682 Iconoir 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