ICONYZ
English
Graduation Cap icon from Phosphor

Graduation Cap icon

ph:graduation-cap

The Graduation Cap icon (ph:graduation-cap) 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
classroom, teacher, education, school, college, university, degree, graduate, hat, graduationcap
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="m251.76 88.94l-120-64a8 8 0 0 0-7.52 0l-120 64a8 8 0 0 0 0 14.12L32 117.87v48.42a15.9 15.9 0 0 0 4.06 10.65C49.16 191.53 78.51 216 128 216a130 130 0 0 0 48-8.76V240a8 8 0 0 0 16 0v-40.49a115.6 115.6 0 0 0 27.94-22.57a15.9 15.9 0 0 0 4.06-10.65v-48.42l27.76-14.81a8 8 0 0 0 0-14.12M128 200c-43.27 0-68.72-21.14-80-33.71V126.4l76.24 40.66a8 8 0 0 0 7.52 0L176 143.47v46.34c-12.6 5.88-28.48 10.19-48 10.19m80-33.75a97.8 97.8 0 0 1-16 14.25v-45.57l16-8.53Zm-20-47.31l-.22-.13l-56-29.87a8 8 0 0 0-7.52 14.12L171 128l-43 22.93L25 96l103-54.93L231 96Z"/></svg>

How to use the Graduation Cap icon

React

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

<Icon icon="ph:graduation-cap" width="24" />

Vue

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

<template>
  <Icon icon="ph:graduation-cap" width="24" />
</template>

Svelte

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

<Icon icon="ph:graduation-cap" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:graduation-cap"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/graduation-cap.svg" alt="Graduation Cap icon" width="24" height="24">

Related icons in Phosphor

Graduation Cap icon in other icon sets

Graduation Cap icon FAQ

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

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

How do I add the Graduation Cap icon to a web page?

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

Browse all Phosphor icons →