Skip to content

X

The x icon represents a close or cancel button, commonly used in digital interfaces to signify removal or dismissal.

Exports at 24 × 24 px

X icon from Myna UI Icons
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}>
    <path fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d="M18 6L6 18M6 6l12 12"/>
  </svg>
);

Myna UI Icons

Icons that share its tags, in the same style.

  • X Circle icon from Myna UI Icons
  • X Diamond icon from Myna UI Icons
  • X Hexagon icon from Myna UI Icons
  • Letter X icon from Myna UI Icons
  • Slash icon from Myna UI Icons
  • Slash Circle icon from Myna UI Icons
  • Slash Diamond icon from Myna UI Icons
  • Slash Hexagon icon from Myna UI Icons
  • Slash Octagon icon from Myna UI Icons
  • Trash icon from Myna UI Icons
  • Trash One icon from Myna UI Icons
  • Trash Two icon from Myna UI Icons
  • Alarm X icon from Myna UI Icons
  • Letter X Square icon from Myna UI Icons
  • Letter X Waves icon from Myna UI Icons
  • Minus Square icon from Myna UI Icons
  • Minus Waves icon from Myna UI Icons
  • Octagon X icon from Myna UI Icons
  • Slash Square icon from Myna UI Icons
  • Slash Waves icon from Myna UI Icons
  • Ticket Slash icon from Myna UI Icons
  • Add Queue icon from Myna UI Icons
  • Arrow Right Square icon from Myna UI Icons
  • Arrow Right Waves icon from Myna UI Icons

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

Get Pro

Pricing

Myna UI Icons MCP, with Pro

Ask for X or any of 2,562 Myna UI Icons 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