John KuehJohn Kueh

x mark icon

Tabler · x-mark · MIT

Download SVG

The Tabler x mark icon depicts a simple cross shape, commonly used to represent actions like closing a window, canceling an operation, or dismissing a notification.

Common uses

  • Close button for modals and dialogs
  • Cancel action button
  • Clear input field

Use it in React

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

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

Details

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

FAQ

What is the x mark icon used for?
It's typically used for closing, canceling, removing, or dismissing elements in a user interface.
How do I use the x mark icon in React?
Import it using `import { IconXMark } from '@tabler/icons-react'` and then use the `<IconXMark />` component.
What is the license for the Tabler x mark icon?
The Tabler icon library, including the x mark 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 →