John KuehJohn Kueh

file txt icon

Phosphor · file-txt · MIT

Download SVG

The Phosphor file txt icon depicts a plain text document, commonly used in UI to represent text files, editing options, or general document-related actions.

Common uses

  • Button to open a text editor
  • Indicator for a .txt file attachment
  • Menu item for creating a new text document

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { FileTxt } from '@phosphor-icons/react';

<FileTxt size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<FileTxt size={24} />
thin
<FileTxt size={24} weight="thin" />
light
<FileTxt size={24} weight="light" />
bold
<FileTxt size={24} weight="bold" />
fill
<FileTxt size={24} weight="fill" />
duotone
<FileTxt size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
office
Keywords
*new*documentsofficeeditortechnology & developmentfiletxttext filedocumentplain texteditor file

FAQ

What does the file txt icon represent?
It represents a plain text file, often used for documents that contain unformatted text.
How do I use the file txt icon in React?
Import it as `FileTxt` from '@phosphor-icons/react' and use it as a component: `<FileTxt />`.
What is the license for this icon?
The Phosphor icon library, including the file txt icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor 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 →