ICONYZ
English
File Cpp icon from Phosphor

File Cpp icon

ph:file-cpp

The File Cpp icon (ph:file-cpp) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
documents, code, c++, filecpp
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M48 180c0 11 7.18 20 16 20a14.18 14.18 0 0 0 10.22-4.66a8 8 0 0 1 11.56 11.06A30.06 30.06 0 0 1 64 216c-17.65 0-32-16.15-32-36s14.35-36 32-36a30.06 30.06 0 0 1 21.78 9.6a8 8 0 0 1-11.56 11.06A14.24 14.24 0 0 0 64 160c-8.82 0-16 9-16 20m-8-68V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88v24a8 8 0 0 1-16 0V96h-48a8 8 0 0 1-8-8V40H56v72a8 8 0 0 1-16 0m120-32h28.69L160 51.31Zm-12 92h-12v-12a8 8 0 0 0-16 0v12h-12a8 8 0 0 0 0 16h12v12a8 8 0 0 0 16 0v-12h12a8 8 0 0 0 0-16m68 0h-12v-12a8 8 0 0 0-16 0v12h-12a8 8 0 0 0 0 16h12v12a8 8 0 0 0 16 0v-12h12a8 8 0 0 0 0-16"/></svg>

How to use the File Cpp icon

React

import { Icon } from "@iconify/react";

<Icon icon="ph:file-cpp" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="ph:file-cpp" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="ph:file-cpp" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--file-cpp]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:file-cpp"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="ph:file-cpp"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/file-cpp.svg" alt="File Cpp icon" width="24" height="24">

Related icons in Phosphor

File Cpp icon FAQ

Is the File Cpp icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the File Cpp icon in React?

Install @iconify/react and render <Icon icon="ph:file-cpp" />, or use “Copy code” on this page to get a standalone React component.

How do I add the File Cpp icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/file-cpp.svg" alt="File Cpp icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →