John KuehJohn Kueh

file tsx icon

Phosphor · file-tsx · MIT

Download SVG

The Phosphor file tsx icon depicts a document with the TSX file extension, commonly used to represent TypeScript React files in user interfaces.

Common uses

  • File type indicator for TSX files
  • Tab label in code editors
  • Link to TSX-related documentation

Use it in React

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

<FileTsx size={24} />

Styles

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

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

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
office
Keywords
documentscodetypescriptofficeeditortechnology & developmentfiletsxtypescript react filetsx documentcode filereact tsx

FAQ

What does the file tsx icon represent?
It represents a file with the TSX extension, which is used for writing React components in TypeScript.
How do I use this icon in a React project?
You can import and use it in your React project with the following statement: import { FileTsx } from '@phosphor-icons/react'.
What is the license for this icon?
The Phosphor icon library, including the file tsx 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 →