Menu

Graduation Cap SVG icon, line

Graduation Cap SVG icon, line

A diamond-shaped mortarboard has a hanging tassel and curved cap base. Place it on graduation announcements and ceremony programs.

Similar SVGs

More from Holidays and Events Icons, Line

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/U5hVZRA3Lagi/amnt.svg" alt="Graduation Cap" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m2 9 10-5 10 5-10 5L2 9Z"/><path d="M6 11v5c3.5 3 8.5 3 12 0v-5"/><path d="M22 9v7"/><path d="M22 16v3"/></svg>
CSS background-image
.graduation-cap {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/U5hVZRA3Lagi/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.graduation-cap {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/U5hVZRA3Lagi/amnt.svg") center / contain no-repeat;
}
React
import GraduationCapSvg from "./graduation-cap.jsx"; // from the React tab above

<GraduationCapSvg width={48} height={48} />

Tags

Made with AMNT

AMNT SVG 1.1 drew this from the words Graduation Cap: Diamond-shaped mortarboard with a hanging tassel and curved cap base. as part of the pack Holidays and Events Icons, Line. Want one like it? Make your own in the SVG studio.

Licence: free. A Free account may use it for personal work; Pro and Max download it with a commercial licence, fixed at download, forever. No credit needed. Read the licence

Settings