softicons.dev

file text icon

Free file text 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="8" y1="13" x2="16" y2="13"/>
  <line x1="8" y1="17" x2="13" y2="17"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/files/file-text.svg"
     width="24" height="24" alt="file text icon">

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

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

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

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