ICONYZ
English
Graph icon from Codicons

Graph icon

codicon:graph

The Graph icon (codicon:graph) 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
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M12.25 15h1.5c.689 0 1.25-.561 1.25-1.25V2.25C15 1.561 14.439 1 13.75 1h-1.5C11.561 1 11 1.561 11 2.25v11.5c0 .689.561 1.25 1.25 1.25M12 2.25a.25.25 0 0 1 .25-.25h1.5a.25.25 0 0 1 .25.25v11.5a.25.25 0 0 1-.25.25h-1.5a.25.25 0 0 1-.25-.25zM8.75 15h-1.5C6.561 15 6 14.439 6 13.75v-7.5C6 5.561 6.561 5 7.25 5h1.5C9.439 5 10 5.561 10 6.25v7.5c0 .689-.561 1.25-1.25 1.25m-1.5-9a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h1.5a.25.25 0 0 0 .25-.25v-7.5A.25.25 0 0 0 8.75 6zm-3.5 9h-1.5C1.561 15 1 14.439 1 13.75v-5.5C1 7.561 1.561 7 2.25 7h1.5C4.439 7 5 7.561 5 8.25v5.5C5 14.439 4.439 15 3.75 15m-1.5-7a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h1.5a.25.25 0 0 0 .25-.25v-5.5A.25.25 0 0 0 3.75 8z" clip-rule="evenodd"/></svg>

How to use the Graph icon

React

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

<Icon icon="codicon:graph" width="24" />

Vue

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

<template>
  <Icon icon="codicon:graph" width="24" />
</template>

Svelte

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

<Icon icon="codicon:graph" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="codicon:graph"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/graph.svg" alt="Graph icon" width="24" height="24">

Related icons in Codicons

Graph icon in other icon sets

Graph icon FAQ

Is the Graph 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 Graph icon in React?

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

How do I add the Graph icon to a web page?

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

Browse all Codicons →