Skip to content

X

The x icon represents a close or cancel action, symbolizing dismissal, removal, or rejection.

Exports at 24 × 24 px

X icon from Lineicons
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" {...props}>
    <path fill="currentColor" d="M17.751 2.96h3.067l-6.7 7.659L22 21.039h-6.172l-4.833-6.32l-5.531 6.32h-3.07l7.167-8.19L2 2.96h6.328l4.37 5.777zm-1.076 16.243h1.7L7.404 4.7H5.58z"/>
  </svg>
);

Lineicons

Icons that share its tags, in the same style.

  • Xmark icon from Lineicons
  • Xmark Circle icon from Lineicons
  • Write icon from Lineicons
  • Www icon from Lineicons
  • Www Cursor icon from Lineicons
  • Xampp icon from Lineicons
  • Xbox icon from Lineicons
  • Xrp icon from Lineicons
  • Yahoo icon from Lineicons
  • Exit icon from Lineicons
  • Flag icon from Lineicons
  • Arrow All Direction icon from Lineicons
  • Arrow Angular Top Left icon from Lineicons
  • Arrow Angular Top Right icon from Lineicons
  • Arrow Both Direction Horizontal  1 icon from Lineicons
  • Arrow Both Direction Vertical  1 icon from Lineicons
  • Arrow Down icon from Lineicons
  • Arrow Down Circle icon from Lineicons
  • Arrow Downward icon from Lineicons
  • Arrow Left icon from Lineicons
  • Arrow Left Circle icon from Lineicons
  • Arrow Right icon from Lineicons
  • Arrow Right Circle icon from Lineicons
  • Arrows Horizontal icon from Lineicons

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

Get Pro

Pricing

Lineicons MCP, with Pro

Ask for X or any of 962 Lineicons 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