Icons

Phosphor File Txt Icon

The File Txt icon from Phosphor is a outline-style SVG available in IconStash alongside 9,198+ other icons from the same library. Copy its SVG code, export a custom PNG, or download a React component — no account required.

Interactive Customizer

1.5px
128px

About this icon

Use the File Txt icon

Icons in the outline style — like File Txt — are designed for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. Use it across document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers for a consistent, professional look.

IconStash's editor lets you fine-tune color, size, and stroke width in real time, then export in the format that fits your workflow: SVG, PNG, JSX, or CSS background-mask.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the File Txt icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

Phosphor draws File Txt with a uniform stroke weight and generous curves. Its defining feature is a six-weight system — Thin, Light, Regular, Bold, Fill and Duotone — so one concept can carry an entire visual hierarchy without you switching icon families mid-product.

UX best practices

In file explorers, document lists and CMS dashboards, put the File Txt icon immediately to the left of the filename so the eye scans one straight line. If it triggers a destructive action, keep a confirmation step — a delete or archive glyph is too easy to hit by accident in a dense list.

Use in your project

React / npm — Phosphor

npm install phosphor-react

import { FileTxt } from 'phosphor-react';

// JSX usage:
<FileTxt size={24} weight="regular" />

Copy the SVG markup directly from the IconStash editor to use the File Txt icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="file-txt icon"><path fill="currentColor" d="M48 120a8 8 0 0 0 8-8V40h88v48a8 8 0 0 0 8 8h48v16a8 8 0 0 0 16 0V88a8 8 0 0 0-2.34-5.66l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v72a8 8 0 0 0 8 8m112-68.69L188.69 80H160Zm-5.49 105.34L137.83 180l16.68 23.35a8 8 0 0 1-13 9.3L128 193.76l-13.49 18.89a8 8 0 1 1-13-9.3L118.17 180l-16.68-23.35a8 8 0 1 1 13-9.3L128 166.24l13.49-18.89a8 8 0 0 1 13 9.3ZM92 152a8 8 0 0 1-8 8H72v48a8 8 0 0 1-16 0v-48H44a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8m128 0a8 8 0 0 1-8 8h-12v48a8 8 0 0 1-16 0v-48h-12a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8"/></svg>

Library & related icons

About Phosphor Icons

Flexible icon family with 9,000+ icons across six weights: Thin, Light, Regular, Bold, Fill, and Duotone. Designed to work together at any scale.

  • Total icons: 9,198+
  • Style: multi-style
  • License: MIT
  • npm package: phosphor-react
Browse all 9,198 Phosphor Icons icons →

People also search for

Frequently asked questions

What is the File Txt icon?

The File Txt icon is a outline-style SVG icon from the Phosphor library, categorized under Files. It is designed for use in document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the File Txt icon free to use?

Yes. Phosphor is licensed under MIT, making it free for personal and commercial use. This means you can freely use the File Txt icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the File Txt icon in React?

Install the package with `npm install phosphor-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Phosphor icon library?

Flexible icon family with 9,000+ icons across six weights: Thin, Light, Regular, Bold, Fill, and Duotone. Designed to work together at any scale. It contains 9,198+ icons. IconStash indexes the complete Phosphor collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the File Txt icon as a PNG?

Yes. Open the File Txt icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the outline icon style mean?

An icon in outline style uses stroked lines with no fill — clean, legible, and versatile at any size. This style is best suited for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. The Phosphor File Txt icon follows this visual convention throughout the Phosphor design system.

Can I change the File Txt icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.