softicons.dev

graduation cap icon

Free graduation cap SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M22 9 12 5 2 9l10 4Z"/>
  <path d="M6 10.5V16a6 3 0 0 0 12 0v-5.5"/>
  <line x1="22" y1="9" x2="22" y2="14"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/graduation-cap.svg"
     width="24" height="24" alt="graduation cap icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { GraduationCapIcon } from "@softicons/react";

export default function Example() {
  return <GraduationCapIcon size={24} strokeWidth={2} />;
}
<script setup>
import { GraduationCapIcon } from "@softicons/vue";
</script>

<template>
  <GraduationCapIcon :size="24" :stroke-width="2" />
</template>
import { GraduationCapIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [GraduationCapIconComponent],
  template: `<graduation-cap-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}