John KuehJohn Kueh

x icon

Tabler · x · MIT

Download SVG

The Tabler x icon depicts a simple cross, commonly used to represent actions like closing a window, canceling an operation, or removing an item.

Common uses

  • Close modal dialogs
  • Cancel form submissions
  • Remove items from a list

Use it in React

Install
npm i @tabler/icons-react
Import & render
import { IconX } from '@tabler/icons-react';

<IconX size={24} stroke={2} />

Styles

Tabler ships this icon in 2 styles — each its own import:

outline
<IconX size={24} stroke={2} />
filled
<IconXFilled size={24} stroke={2} />

Details

Library
Tabler (5,093 icons)
License
MIT
viewBox
0 0 24 24
Category
System
Keywords
cancelremovedeleteemptyclosexsystem

FAQ

What is the Tabler x icon used for?
It's typically used for closing elements like modals or pop-ups, canceling actions, or removing items.
How do I use the x icon in React?
Import it using `import { IconX } from '@tabler/icons-react'` and then use it as a component: `<IconX />`.
What is the license for the Tabler x icon?
The Tabler icon library, including the x icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Tabler.

Looking for something else? Search Tabler and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →