softicons.dev

file x icon

Free file x SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons files set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z"/>
  <polyline points="14 2 14 8 20 8"/>
  <line x1="9.5" y1="13" x2="14.5" y2="18"/>
  <line x1="14.5" y1="13" x2="9.5" y2="18"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/files/file-x.svg"
     width="24" height="24" alt="file x icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { FileXIcon } from "@softicons/react";

export default function Example() {
  return <FileXIcon size={24} strokeWidth={2} />;
}
<script setup>
import { FileXIcon } from "@softicons/vue";
</script>

<template>
  <FileXIcon :size="24" :stroke-width="2" />
</template>
import { FileXIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [FileXIconComponent],
  template: `<file-x-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}