Skip to content
shadcn.io

X

The x icon represents a close or exit action, commonly used to dismiss or cancel a process.

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 18 × 24 px

X icon from Octicons
Get Pro

901 in OcticonsMIT license (opens in a new tab)Free 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="18" height="24" viewBox="0 0 12 16" {...props}>
    <path fillRule="evenodd" d="M7.48 8l3.75 3.75l-1.48 1.48L6 9.48l-3.75 3.75l-1.48-1.48L4.52 8L.77 4.25l1.48-1.48L6 6.52l3.75-3.75l1.48 1.48L7.48 8z" fill="currentColor"/>
  </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

Octicons

Icons that share its tags, in the same style.

  • X  12 icon from Octicons
  • X  16 icon from Octicons
  • X  24 icon from Octicons
  • X Circle  16 icon from Octicons
  • Circle Slash  24 icon from Octicons
  • Filter Remove  16 icon from Octicons
  • Filter Remove  24 icon from Octicons
  • Trashcan icon from Octicons
  • Chevron Right  16 icon from Octicons
  • Chevron Right  24 icon from Octicons
  • Chevron Up icon from Octicons
  • Chevron Up  12 icon from Octicons
  • Chevron Up  16 icon from Octicons
  • Chevron Up  24 icon from Octicons
  • Unlink  16 icon from Octicons
  • Unlink  24 icon from Octicons
  • X Circle  24 icon from Octicons
  • Arrow Switch  24 icon from Octicons
  • Arrow Up icon from Octicons
  • Arrow Up  16 icon from Octicons
  • Arrow Up  24 icon from Octicons
  • Arrow Up Left  16 icon from Octicons
  • Arrow Up Left  24 icon from Octicons
  • Arrow Up Right  16 icon from Octicons

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

Get Pro

Tags

Browse by tag

X is tagged interface, UX, action and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Octicons MCP, with Pro

Ask for X or any of 901 Octicons 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