Graduation Cap 20 icon
energy-icons:graduation-cap-20
The Graduation Cap 20 icon (energy-icons:graduation-cap-20) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 20 × 20
- Tags
- graduationcap
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M9.887 2.845a.5.5 0 0 1 .338.04l8.333 4.166a.5.5 0 0 1 0 .895l-8.333 4.167a.5.5 0 0 1-.448 0L1.444 7.946a.5.5 0 0 1 0-.895l8.333-4.167zM2.785 7.5l7.216 3.607L17.216 7.5L10 3.89z"/><path fill="currentColor" d="M4.501 13.332V9.166h1v4.166c0 .535.394 1.03 1.266 1.418c.854.38 2.03.582 3.234.582s2.38-.202 3.234-.582c.872-.387 1.266-.883 1.266-1.418V9.166h1v4.166c0 1.132-.856 1.886-1.86 2.332c-1.02.454-2.344.668-3.64.668s-2.62-.214-3.64-.668c-1.004-.446-1.86-1.2-1.86-2.332m13.333-.834v-5h1v5a.5.5 0 1 1-1 0"/></svg>How to use the Graduation Cap 20 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:graduation-cap-20" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:graduation-cap-20" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:graduation-cap-20" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--graduation-cap-20]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:graduation-cap-20"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:graduation-cap-20"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/graduation-cap-20.svg" alt="Graduation Cap 20 icon" width="24" height="24">Related icons in Energy Icons
Graduation Cap 20 icon FAQ
Is the Graduation Cap 20 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Graduation Cap 20 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:graduation-cap-20" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Graduation Cap 20 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/graduation-cap-20.svg" alt="Graduation Cap 20 icon">, or paste the SVG code inline to style it with CSS.