1. Icon Monks
  2. Files icons
  3. File X

File X icon

The file x icon is a free files icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

File X icon, thin weight
Thin
SVG
File X icon, light weight
Light
SVG
File X icon, regular weight
Regular
SVG
File X icon, bold weight
Bold
SVG
File X icon, fill weight
Fill
SVG
File X icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the file x icon

It is the file icon with an x badge, for cancelling, closing or deleting, so it keeps the exact outline of the file icon. Use it to stand for document, delete and error. The regular weight is a single path made of 4 shapes, and the duotone weight adds a 20% tint behind the outline.

Pairs well with the image broken and sim card slash icons, which share the “error” theme. Use the same weight for all of them so they read as one set.

When to use the file x icon

It belongs to the files set, made for documents, folders, file types and storage. Pair it with the related icons below so a screen stays in one visual style.

Use the file x icon in your code

React

import { FileX } from '@icon-monks/react';

<FileX size={24} />

Vue

<script setup>
import { FileX } from '@icon-monks/vue';
</script>

<FileX :size="24" />

Web component

<icon-monks name="file-x" size="24"></icon-monks>

Icon font

<i class="im im-file-x"></i>

Flutter

Icon(IconMonks.fileX)

SwiftUI

Image(iconMonks: .fileX)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.FileX

Icon(IconMonks.Regular.FileX, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related files icons

See all 247 files icons

Similar icons in other categories

Questions about the file x icon

Is the file x icon free for commercial use?

Yes. The file x icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the file x icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

What is the difference between the file x and file icons?

The file x icon is the file icon with an x badge, for cancelling, closing or deleting. Both share the same outline and come in all six weights, so you can swap one for the other to show a change of state.

Last updated with version 0.4.3. Release notes