ICONYZ
English
Mortar Board icon from Codicons

Mortar Board icon

codicon:mortar-board

The Mortar Board icon (codicon:mortar-board) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Codicons
Author
Microsoft Corporation
License
CC-BY-4.0
Size
24 × 24
Tags
mortarboard
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="M9.368 2.447a2.5 2.5 0 0 0-2.736 0L1.226 5.982a.5.5 0 0 0-.224.47L1 6.5v4a.5.5 0 0 0 1 0V7.342l1 .677V11.7c0 .119.043.234.12.325l.002.003l.006.006l.02.022l.068.074c.059.062.144.148.254.25c.22.203.543.472.959.74c.83.536 2.049 1.08 3.571 1.08s2.74-.544 3.571-1.08c.416-.268.739-.537.959-.74a6 6 0 0 0 .322-.324l.02-.021l.006-.007l.002-.003l.001-.001A.5.5 0 0 0 13 11.7V8.02l1.78-1.206a.45.45 0 0 0 .22-.418a.5.5 0 0 0-.227-.414zM12 8.696v2.806q-.06.061-.149.143a6 6 0 0 1-.822.635c-.72.464-1.751.92-3.029.92s-2.31-.456-3.029-.92A6 6 0 0 1 4 11.502V8.696l2.599 1.76a2.5 2.5 0 0 0 2.802 0zM3.5 11.7l-.38.325s-.001-.001.38-.325m3.679-8.416a1.5 1.5 0 0 1 1.642 0L13.597 6.4L8.841 9.627a1.5 1.5 0 0 1-1.682 0l-4.757-3.22z"/></svg>

How to use the Mortar Board icon

React

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

<Icon icon="codicon:mortar-board" width="24" />

Vue

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

<template>
  <Icon icon="codicon:mortar-board" width="24" />
</template>

Svelte

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

<Icon icon="codicon:mortar-board" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--mortar-board]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:mortar-board"></div>

Web component

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

<iconify-icon icon="codicon:mortar-board"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codicon/mortar-board.svg" alt="Mortar Board icon" width="24" height="24">

Mortar Board icon in other icon sets

Mortar Board icon FAQ

Is the Mortar Board icon free for commercial use?

Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Mortar Board icon in React?

Install @iconify/react and render <Icon icon="codicon:mortar-board" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Mortar Board icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/mortar-board.svg" alt="Mortar Board icon">, or paste the SVG code inline to style it with CSS.

Browse all Codicons →