John KuehJohn Kueh

x icon

Phosphor · x · MIT

Download SVG

The Phosphor x icon depicts a multiplication or close symbol, commonly used to dismiss dialogs, close windows, or indicate cancellation in user interfaces.

Common uses

  • Close modal dialogs
  • Dismiss notifications
  • Cancel form submissions

Use it in React

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

<X size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<X size={24} />
thin
<X size={24} weight="thin" />
light
<X size={24} weight="light" />
bold
<X size={24} weight="bold" />
fill
<X size={24} weight="fill" />
duotone
<X size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
technology & development
Keywords
×closedcancelleddismissedtimesmultiplymulitplicationproductmathematicsarithmeticcalculatortechnology & developmentfinancessystemxclose

FAQ

What is the Phosphor x icon used for?
It's used to represent closing, dismissing, or canceling an action or element in a UI. It can also represent multiplication in mathematical contexts.
How do I use the x icon in React?
You can import and use it like this: import { X } from '@phosphor-icons/react'. Then render it as <X />.
What is the license for the Phosphor x icon?
The Phosphor icon library, including the x icon, is available under the MIT license.

Related icons

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

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