# graduation-cap icon

Graduation cap. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/graduation-cap

- Category: Science & education
- Use it for: school, education, graduation, academic, course, academia, university, courses, online course, e learning, lesson, lessons, school building, schoolhouse, schools, learning, graduate, commencement
- Tags: school, education, graduation, mortarboard, cap, student, learning, university, course, academic
- Family: school-building
- Component name: GraduationCapIcon
- Added: 2026-10-15

## Alternatives

- `school-building`: the school building facade: a school as a place on a map or a campus

## Also fits

- certificate: education or graduation
- classroom: a school or education

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/graduation-cap.svg · PNG https://gentleface.com/png/line-round/16/graduation-cap.png · https://gentleface.com/png/line-round/32/graduation-cap.png · https://gentleface.com/png/line-round/48/graduation-cap.png
- line-soft: https://gentleface.com/svg/line-soft/16/graduation-cap.svg · PNG https://gentleface.com/png/line-soft/16/graduation-cap.png · https://gentleface.com/png/line-soft/32/graduation-cap.png · https://gentleface.com/png/line-soft/48/graduation-cap.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/graduation-cap.svg · PNG https://gentleface.com/png/line-sharp/16/graduation-cap.png · https://gentleface.com/png/line-sharp/32/graduation-cap.png · https://gentleface.com/png/line-sharp/48/graduation-cap.png
- solid-round: https://gentleface.com/svg/solid-round/16/graduation-cap.svg · PNG https://gentleface.com/png/solid-round/16/graduation-cap.png · https://gentleface.com/png/solid-round/32/graduation-cap.png · https://gentleface.com/png/solid-round/48/graduation-cap.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/graduation-cap.svg · PNG https://gentleface.com/png/solid-soft/16/graduation-cap.png · https://gentleface.com/png/solid-soft/32/graduation-cap.png · https://gentleface.com/png/solid-soft/48/graduation-cap.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/graduation-cap.svg · PNG https://gentleface.com/png/solid-sharp/16/graduation-cap.png · https://gentleface.com/png/solid-sharp/32/graduation-cap.png · https://gentleface.com/png/solid-sharp/48/graduation-cap.png

The SVG of every style: https://gentleface.com/icons/graduation-cap.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z"/></svg>
```

### React

```tsx
// Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap
import type { SVGProps } from 'react';

export function GraduationCapIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/graduation-cap.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap. Takes the text color. */
.icon-graduation-cap {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#graduation-cap"/></svg>
```

### SwiftUI

```swift
// Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap
import SwiftUI

struct GraduationCapIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 13.724, y: 5.053))
        p.addCurve(to: CGPoint(x: 13.926, y: 5.237), control1: CGPoint(x: 13.809, y: 5.096), control2: CGPoint(x: 13.876, y: 5.157))
        p.addCurve(to: CGPoint(x: 14, y: 5.5), control1: CGPoint(x: 13.975, y: 5.317), control2: CGPoint(x: 14, y: 5.404))
        p.addLine(to: CGPoint(x: 14, y: 9.5))
        p.addCurve(to: CGPoint(x: 13.856, y: 9.856), control1: CGPoint(x: 14, y: 9.641), control2: CGPoint(x: 13.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 10), control1: CGPoint(x: 13.759, y: 9.952), control2: CGPoint(x: 13.641, y: 10))
        p.addCurve(to: CGPoint(x: 13.144, y: 9.856), control1: CGPoint(x: 13.359, y: 10), control2: CGPoint(x: 13.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 13, y: 9.5), control1: CGPoint(x: 13.048, y: 9.759), control2: CGPoint(x: 13, y: 9.641))
        p.addLine(to: CGPoint(x: 13, y: 6.309))
        p.addLine(to: CGPoint(x: 12, y: 6.809))
        p.addLine(to: CGPoint(x: 12, y: 10.5))
        p.addCurve(to: CGPoint(x: 11.611, y: 11.547), control1: CGPoint(x: 12, y: 10.87), control2: CGPoint(x: 11.87, y: 11.219))
        p.addCurve(to: CGPoint(x: 10.552, y: 12.361), control1: CGPoint(x: 11.362, y: 11.861), control2: CGPoint(x: 11.009, y: 12.133))
        p.addCurve(to: CGPoint(x: 9.069, y: 12.85), control1: CGPoint(x: 10.121, y: 12.577), control2: CGPoint(x: 9.627, y: 12.74))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 8.564, y: 12.95), control2: CGPoint(x: 8.041, y: 13))
        p.addCurve(to: CGPoint(x: 5.931, y: 12.85), control1: CGPoint(x: 6.959, y: 13), control2: CGPoint(x: 6.436, y: 12.95))
        p.addCurve(to: CGPoint(x: 4.448, y: 12.361), control1: CGPoint(x: 5.373, y: 12.74), control2: CGPoint(x: 4.879, y: 12.577))
        p.addCurve(to: CGPoint(x: 3.389, y: 11.547), control1: CGPoint(x: 3.991, y: 12.133), control2: CGPoint(x: 3.638, y: 11.861))
        p.addCurve(to: CGPoint(x: 3, y: 10.5), control1: CGPoint(x: 3.13, y: 11.219), control2: CGPoint(x: 3, y: 10.87))
        p.addLine(to: CGPoint(x: 3, y: 6.809))
        p.addLine(to: CGPoint(x: 1.276, y: 5.947))
        p.addCurve(to: CGPoint(x: 1.023, y: 5.659), control1: CGPoint(x: 1.15, y: 5.884), control2: CGPoint(x: 1.066, y: 5.788))
        p.addCurve(to: CGPoint(x: 1.053, y: 5.276), control1: CGPoint(x: 0.98, y: 5.53), control2: CGPoint(x: 0.99, y: 5.402))
        p.addCurve(to: CGPoint(x: 1.276, y: 5.053), control1: CGPoint(x: 1.102, y: 5.177), control2: CGPoint(x: 1.177, y: 5.102))
        p.addLine(to: CGPoint(x: 6.382, y: 2.5))
        p.addCurve(to: CGPoint(x: 7.5, y: 2.236), control1: CGPoint(x: 6.734, y: 2.324), control2: CGPoint(x: 7.107, y: 2.236))
        p.addCurve(to: CGPoint(x: 8.618, y: 2.5), control1: CGPoint(x: 7.893, y: 2.236), control2: CGPoint(x: 8.266, y: 2.324))
        p.addLine(to: CGPoint(x: 13.724, y: 5.053))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.5, y: 3.236))
        p.addCurve(to: CGPoint(x: 6.829, y: 3.394), control1: CGPoint(x: 7.264, y: 3.236), control2: CGPoint(x: 7.04, y: 3.289))
        p.addLine(to: CGPoint(x: 2.618, y: 5.5))
        p.addLine(to: CGPoint(x: 6.829, y: 7.606))
        p.addCurve(to: CGPoint(x: 7.5, y: 7.764), control1: CGPoint(x: 7.04, y: 7.711), control2: CGPoint(x: 7.264, y: 7.764))
        p.addCurve(to: CGPoint(x: 8.171, y: 7.606), control1: CGPoint(x: 7.736, y: 7.764), control2: CGPoint(x: 7.96, y: 7.711))
        p.addLine(to: CGPoint(x: 12.382, y: 5.5))
        p.addLine(to: CGPoint(x: 8.171, y: 3.394))
        p.addCurve(to: CGPoint(x: 7.5, y: 3.236), control1: CGPoint(x: 7.96, y: 3.289), control2: CGPoint(x: 7.736, y: 3.236))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.173, y: 10.926))
        p.addCurve(to: CGPoint(x: 4.895, y: 11.467), control1: CGPoint(x: 4.33, y: 11.124), control2: CGPoint(x: 4.571, y: 11.305))
        p.addCurve(to: CGPoint(x: 6.125, y: 11.869), control1: CGPoint(x: 5.245, y: 11.642), control2: CGPoint(x: 5.655, y: 11.776))
        p.addCurve(to: CGPoint(x: 7.5, y: 12), control1: CGPoint(x: 6.566, y: 11.956), control2: CGPoint(x: 7.024, y: 12))
        p.addCurve(to: CGPoint(x: 8.875, y: 11.869), control1: CGPoint(x: 7.976, y: 12), control2: CGPoint(x: 8.434, y: 11.956))
        p.addCurve(to: CGPoint(x: 10.105, y: 11.467), control1: CGPoint(x: 9.345, y: 11.776), control2: CGPoint(x: 9.755, y: 11.642))
        p.addCurve(to: CGPoint(x: 10.827, y: 10.926), control1: CGPoint(x: 10.429, y: 11.305), control2: CGPoint(x: 10.67, y: 11.124))
        p.addCurve(to: CGPoint(x: 11, y: 10.5), control1: CGPoint(x: 10.942, y: 10.78), control2: CGPoint(x: 11, y: 10.638))
        p.addLine(to: CGPoint(x: 11, y: 7.309))
        p.addLine(to: CGPoint(x: 8.618, y: 8.5))
        p.addCurve(to: CGPoint(x: 7.5, y: 8.764), control1: CGPoint(x: 8.266, y: 8.676), control2: CGPoint(x: 7.893, y: 8.764))
        p.addCurve(to: CGPoint(x: 6.382, y: 8.5), control1: CGPoint(x: 7.107, y: 8.764), control2: CGPoint(x: 6.734, y: 8.676))
        p.addLine(to: CGPoint(x: 4, y: 7.309))
        p.addLine(to: CGPoint(x: 4, y: 10.5))
        p.addCurve(to: CGPoint(x: 4.173, y: 10.926), control1: CGPoint(x: 4, y: 10.638), control2: CGPoint(x: 4.058, y: 10.78))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// GraduationCapIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val GraduationCapIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "graduation-cap", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(GraduationCapIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_graduation_cap.xml · Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M13.724 5.053C13.809 5.096 13.876 5.157 13.926 5.237C13.975 5.317 14 5.404 14 5.5L14 9.5C14 9.641 13.952 9.759 13.856 9.856C13.759 9.952 13.641 10 13.5 10C13.359 10 13.241 9.952 13.144 9.856C13.048 9.759 13 9.641 13 9.5L13 6.309L12 6.809L12 10.5C12 10.87 11.87 11.219 11.611 11.547C11.362 11.861 11.009 12.133 10.552 12.361C10.121 12.577 9.627 12.74 9.069 12.85C8.564 12.95 8.041 13 7.5 13C6.959 13 6.436 12.95 5.931 12.85C5.373 12.74 4.879 12.577 4.448 12.361C3.991 12.133 3.638 11.861 3.389 11.547C3.13 11.219 3 10.87 3 10.5L3 6.809L1.276 5.947C1.15 5.884 1.066 5.788 1.023 5.659C0.98 5.53 0.99 5.402 1.053 5.276C1.102 5.177 1.177 5.102 1.276 5.053L6.382 2.5C6.734 2.324 7.107 2.236 7.5 2.236C7.893 2.236 8.266 2.324 8.618 2.5L13.724 5.053ZM7.5 3.236C7.264 3.236 7.04 3.289 6.829 3.394L2.618 5.5L6.829 7.606C7.04 7.711 7.264 7.764 7.5 7.764C7.736 7.764 7.96 7.711 8.171 7.606L12.382 5.5L8.171 3.394C7.96 3.289 7.736 3.236 7.5 3.236ZM4.173 10.926C4.33 11.124 4.571 11.305 4.895 11.467C5.245 11.642 5.655 11.776 6.125 11.869C6.566 11.956 7.024 12 7.5 12C7.976 12 8.434 11.956 8.875 11.869C9.345 11.776 9.755 11.642 10.105 11.467C10.429 11.305 10.67 11.124 10.827 10.926C10.942 10.78 11 10.638 11 10.5L11 7.309L8.618 8.5C8.266 8.676 7.893 8.764 7.5 8.764C7.107 8.764 6.734 8.676 6.382 8.5L4 7.309L4 10.5C4 10.638 4.058 10.78 4.173 10.926Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "graduation-cap" (line-round), MIT. https://gentleface.com/icons/graduation-cap
import 'package:flutter/widgets.dart';

class GraduationCapIcon extends StatelessWidget {
  const GraduationCapIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _GraduationCapIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _GraduationCapIconPainter extends CustomPainter {
  _GraduationCapIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(13.724, 5.053)
      ..cubicTo(13.809, 5.096, 13.876, 5.157, 13.926, 5.237)
      ..cubicTo(13.975, 5.317, 14, 5.404, 14, 5.5)
      ..lineTo(14, 9.5)
      ..cubicTo(14, 9.641, 13.952, 9.759, 13.856, 9.856)
      ..cubicTo(13.759, 9.952, 13.641, 10, 13.5, 10)
      ..cubicTo(13.359, 10, 13.241, 9.952, 13.144, 9.856)
      ..cubicTo(13.048, 9.759, 13, 9.641, 13, 9.5)
      ..lineTo(13, 6.309)
      ..lineTo(12, 6.809)
      ..lineTo(12, 10.5)
      ..cubicTo(12, 10.87, 11.87, 11.219, 11.611, 11.547)
      ..cubicTo(11.362, 11.861, 11.009, 12.133, 10.552, 12.361)
      ..cubicTo(10.121, 12.577, 9.627, 12.74, 9.069, 12.85)
      ..cubicTo(8.564, 12.95, 8.041, 13, 7.5, 13)
      ..cubicTo(6.959, 13, 6.436, 12.95, 5.931, 12.85)
      ..cubicTo(5.373, 12.74, 4.879, 12.577, 4.448, 12.361)
      ..cubicTo(3.991, 12.133, 3.638, 11.861, 3.389, 11.547)
      ..cubicTo(3.13, 11.219, 3, 10.87, 3, 10.5)
      ..lineTo(3, 6.809)
      ..lineTo(1.276, 5.947)
      ..cubicTo(1.15, 5.884, 1.066, 5.788, 1.023, 5.659)
      ..cubicTo(0.98, 5.53, 0.99, 5.402, 1.053, 5.276)
      ..cubicTo(1.102, 5.177, 1.177, 5.102, 1.276, 5.053)
      ..lineTo(6.382, 2.5)
      ..cubicTo(6.734, 2.324, 7.107, 2.236, 7.5, 2.236)
      ..cubicTo(7.893, 2.236, 8.266, 2.324, 8.618, 2.5)
      ..lineTo(13.724, 5.053)
      ..close()
      ..moveTo(7.5, 3.236)
      ..cubicTo(7.264, 3.236, 7.04, 3.289, 6.829, 3.394)
      ..lineTo(2.618, 5.5)
      ..lineTo(6.829, 7.606)
      ..cubicTo(7.04, 7.711, 7.264, 7.764, 7.5, 7.764)
      ..cubicTo(7.736, 7.764, 7.96, 7.711, 8.171, 7.606)
      ..lineTo(12.382, 5.5)
      ..lineTo(8.171, 3.394)
      ..cubicTo(7.96, 3.289, 7.736, 3.236, 7.5, 3.236)
      ..close()
      ..moveTo(4.173, 10.926)
      ..cubicTo(4.33, 11.124, 4.571, 11.305, 4.895, 11.467)
      ..cubicTo(5.245, 11.642, 5.655, 11.776, 6.125, 11.869)
      ..cubicTo(6.566, 11.956, 7.024, 12, 7.5, 12)
      ..cubicTo(7.976, 12, 8.434, 11.956, 8.875, 11.869)
      ..cubicTo(9.345, 11.776, 9.755, 11.642, 10.105, 11.467)
      ..cubicTo(10.429, 11.305, 10.67, 11.124, 10.827, 10.926)
      ..cubicTo(10.942, 10.78, 11, 10.638, 11, 10.5)
      ..lineTo(11, 7.309)
      ..lineTo(8.618, 8.5)
      ..cubicTo(8.266, 8.676, 7.893, 8.764, 7.5, 8.764)
      ..cubicTo(7.107, 8.764, 6.734, 8.676, 6.382, 8.5)
      ..lineTo(4, 7.309)
      ..lineTo(4, 10.5)
      ..cubicTo(4, 10.638, 4.058, 10.78, 4.173, 10.926)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_GraduationCapIconPainter old) => old.color != color;
}
```
