ICONYZ
English
Graduation Cap icon from OpenMoji

Graduation Cap icon

openmoji:graduation-cap

The Graduation Cap icon (openmoji:graduation-cap) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Objects
Tags
graduationcap
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#3f3f3f" stroke="#3f3f3f" stroke-miterlimit="10" stroke-width="2" d="M56 27.917v17.979H16V27.917"/><path fill="none" stroke="#f1b31c" stroke-miterlimit="10" stroke-width="2" d="M10.043 28.5v8.406"/><circle cx="10.043" cy="36.906" r="2" fill="#f1b31c"/><path fill="#f1b31c" stroke="#f1b31c" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.747" d="M12.043 45.896H8.25l1.897-8.12h0z"/><path fill="#3f3f3f" d="M4 22.875h64v5.042H4zm52 8.042v14.979H16V30.917"/><circle cx="36" cy="22.002" r="3"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 22.875h64v5.042H4z"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.747" d="M56 30.917v14.979H16V30.917"/></svg>

How to use the Graduation Cap icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Graduation Cap icon in other icon sets

Graduation Cap icon FAQ

Is the Graduation Cap icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Graduation Cap icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/graduation-cap.svg" alt="Graduation Cap icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →