Skip to content
shadcn.io

X

The x icon represents a close or cancel symbol commonly used in user interfaces to indicate dismissal or removal.

Add shadcn.io to your AI agent. · Pro It installs X, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

X icon from Foundation
Get Pro

283 in FoundationMIT licenseFree to copy and download

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 100 100" {...props}>
    <path fill="currentColor" d="M84.707 68.752L65.951 49.998l18.75-18.752a1.99 1.99 0 0 0 0-2.813L71.566 15.295a1.99 1.99 0 0 0-2.814 0L49.999 34.047l-18.75-18.752c-.746-.747-2.067-.747-2.814 0L15.297 28.431a1.99 1.99 0 0 0 0 2.814L34.05 49.998L15.294 68.753a1.993 1.993 0 0 0 0 2.814L28.43 84.704a1.99 1.99 0 0 0 2.814 0l18.755-18.755l18.756 18.754c.389.388.896.583 1.407.583s1.019-.195 1.408-.583l13.138-13.137a1.99 1.99 0 0 0-.001-2.814"/>
  </svg>
);

Other libraries

X in 8 more libraries

Each library draws it its own way. Open one to compare.

  • X icon from Phosphor
  • X icon from Tabler Icons
  • X icon from Simple Icons
  • X icon from Health Icons
  • X icon from Myna UI Icons
  • X icon from Carbon
  • X icon from WebHostingHub Glyphs
  • X icon from Bootstrap Icons

Foundation

Icons that share its tags, then the ones next to it in Foundation, in the same style.

  • X Circle icon from Foundation
  • Minus Circle icon from Foundation
  • Page Delete icon from Foundation
  • Page Remove icon from Foundation
  • Comment Minus icon from Foundation
  • Stop icon from Foundation
  • Trash icon from Foundation
  • Unlink icon from Foundation
  • Volume Strike icon from Foundation
  • Unlock icon from Foundation
  • Upload icon from Foundation
  • Upload Cloud icon from Foundation
  • Usb icon from Foundation
  • Video icon from Foundation
  • Volume icon from Foundation
  • Volume None icon from Foundation
  • Web icon from Foundation
  • Wheelchair icon from Foundation
  • Widget icon from Foundation
  • Wrench icon from Foundation
  • Yen icon from Foundation
  • Zoom In icon from Foundation
  • Zoom Out icon from Foundation

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

Get Pro

Tags

Browse by tag

X is tagged delete, remove, cancel and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Foundation MCP, with Pro

Ask for X or any of 283 Foundation 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.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • 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 and license it.

Install X from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro