John KuehJohn Kueh

file x icon

Phosphor · file-x · MIT

Download SVG

The Phosphor file x icon depicts a document with an 'X' mark, typically used to signify a cancelled, deleted, or erroneous file or document within a user interface.

Common uses

  • Indicate a deleted document in a file list.
  • Show an error state for a submitted file.
  • Represent a cancelled document upload.

Use it in React

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

<FileX size={24} />

Styles

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

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

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
office
Keywords
documentsfilescancelleddeletedremovederrorsofficeeditorfilexdelete fileerror documentcancel fileremove document

FAQ

What does the file x icon represent?
It represents a file or document that has been cancelled, deleted, removed, or is associated with an error.
How do I use the file x icon in React?
You can import and use it like this: import { FileX } from '@phosphor-icons/react'. Then render it as <FileX />.
What is the license for this icon?
The Phosphor icon library, including the file 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 →