ICONYZ
English
Graduation Cap icon from Unicons

Graduation Cap icon

uil:graduation-cap

The Graduation Cap icon (uil:graduation-cap) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 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
Unicons
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Education
Tags
graduationcap, graduation hat
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="m21.49 10.19l-1-.55l-9-5h-.11a1 1 0 0 0-.19-.06h-.37a1 1 0 0 0-.2.06h-.11l-9 5a1 1 0 0 0 0 1.74L4 12.76v4.74a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-4.74l2-1.12v2.86a1 1 0 0 0 2 0v-3.44a1 1 0 0 0-.51-.87M16 17.5a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-3.63l4.51 2.5l.15.06h.09a1 1 0 0 0 .25 0a1 1 0 0 0 .25 0h.09a.5.5 0 0 0 .15-.06l4.51-2.5Zm-5-3.14L4.06 10.5L11 6.64l6.94 3.86Z"/></svg>

How to use the Graduation Cap icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/uil/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. Unicons are released under the Apache 2.0 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="uil: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/uil/graduation-cap.svg" alt="Graduation Cap icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons →