The Lucide file x icon depicts a document with an 'X' mark, commonly used to signify deletion, removal, or cancellation of a file or document.
Common uses
- Delete file button
- Cancel document action
- Remove item from list
Use it in React
Install
npm i lucide-reactImport & render
import { FileX } from 'lucide-react';
<FileX size={24} />Details
- Library
- Lucide (1,713 icons)
- License
- ISC
- viewBox
0 0 24 24- Keywords
- lostdeleteremovedocumentfilexdelete fileremove documentcancel filelost file
FAQ
- What is the file x icon used for?
- It's used to represent actions like deleting, removing, or canceling a file or document in a user interface.
- How do I use the file x icon in React?
- You can import and use it like this: import { FileX } from 'lucide-react'. Then render it as <FileX />.
- What is the license for Lucide icons?
- Lucide icons, including the file x icon, are distributed under the ISC license.
Related icons
The same idea in other libraries, and near matches in Lucide.
Looking for something else? Search Lucide 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 →