The Phosphor file cpp icon depicts a document with the letters 'C++' on it, commonly used to represent C++ source code files or related actions within an office or development context.
Common uses
- Button to open/edit a C++ file
- File type indicator for C++ documents
- Menu item for C++ related operations
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { FileCpp } from '@phosphor-icons/react';
<FileCpp size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<FileCpp size={24} />thin
<FileCpp size={24} weight="thin" />light
<FileCpp size={24} weight="light" />bold
<FileCpp size={24} weight="bold" />fill
<FileCpp size={24} weight="fill" />duotone
<FileCpp size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- office
- Keywords
- *new*documentscodec++officeeditortechnology & developmentfilecppc++ filesource code fileprogramming file
FAQ
- What does the file cpp icon represent?
- It represents a C++ source code file. It's used in UIs to signify C++ documents or actions related to them.
- How do I use the file cpp icon in React?
- You can import it from '@phosphor-icons/react' and use it as a component: import { FileCpp } from '@phosphor-icons/react'.
- What is the license for the file cpp icon?
- The Phosphor icon library, including the file cpp icon, is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.