ICONYZ
English
Pie Chart icon from Codicons

Pie Chart icon

codicon:pie-chart

The Pie Chart icon (codicon:pie-chart) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Tags
piechart
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8.5 1a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 .5.5h6a.5.5 0 0 0 .5-.5A6.5 6.5 0 0 0 8.5 1M9 7V2.022A5.5 5.5 0 0 1 13.978 7zM7 3.522a.5.5 0 0 0-.545-.498a6 6 0 1 0 6.52 6.52a.5.5 0 0 0-.497-.544H7zM2 9a5 5 0 0 1 4-4.9v5.4a.5.5 0 0 0 .5.5h5.4A5.002 5.002 0 0 1 2 9"/></svg>

How to use the Pie Chart icon

React

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

<Icon icon="codicon:pie-chart" width="24" />

Vue

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

<template>
  <Icon icon="codicon:pie-chart" width="24" />
</template>

Svelte

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

<Icon icon="codicon:pie-chart" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--pie-chart]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:pie-chart"></div>

Web component

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

<iconify-icon icon="codicon:pie-chart"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/pie-chart.svg" alt="Pie Chart icon" width="24" height="24">

Pie Chart icon in other icon sets

Pie Chart icon FAQ

Is the Pie Chart icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Pie Chart icon in React?

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

How do I add the Pie Chart icon to a web page?

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

Browse all Codicons →